Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-8397: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in restpack Save as PDF Button

0
Medium
VulnerabilityCVE-2025-8397cvecve-2025-8397cwe-79
Published: Thu Nov 13 2025 (11/13/2025, 08:27:46 UTC)
Source: CVE Database V5
Vendor/Project: restpack
Product: Save as PDF Button

Description

The Save as PDF Button plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's restpackpdfbutton shortcode in all versions up to, and including, 1.9.2 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 21:46:09 UTC

Technical Analysis

CVE-2025-8397 is a stored cross-site scripting vulnerability in the Save as PDF Button WordPress plugin, affecting versions up to 1.9.2. The issue is due to improper neutralization of input during web page generation (CWE-79), specifically in the restpackpdfbutton shortcode. Authenticated attackers with contributor or higher privileges can inject malicious scripts via user-supplied shortcode attributes, which are not properly sanitized or escaped. These scripts execute in the context of users who view the injected pages, potentially leading to session hijacking or other script-based attacks. The CVSS 3.1 base score is 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N), reflecting network attack vector, low attack complexity, required privileges, no user interaction, and partial impact on confidentiality and integrity.

Potential Impact

An attacker with contributor-level or higher access can inject persistent malicious scripts into pages via the vulnerable shortcode. These scripts execute in the browsers of users who view the affected pages, potentially compromising user sessions or data confidentiality and integrity. Availability is not impacted. The vulnerability affects the confidentiality and integrity of the WordPress site content and user data to a limited extent.

Mitigation Recommendations

No official patch or fix is currently documented for this vulnerability. Users should monitor the vendor's advisory channels for updates. Until a fix is available, restrict contributor-level access carefully and consider disabling or removing the Save as PDF Button plugin if possible to prevent exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-07-30T21:17:11.981Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 691599b6f47b1f1c8b520c6a

Added to database: 11/13/2025, 8:41:26 AM

Last enriched: 4/9/2026, 9:46:09 PM

Last updated: 5/10/2026, 7:10:48 AM

Views: 124

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses