Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-30922 Overview
CVE-2025-30922 is a stored cross-site scripting (XSS) vulnerability in the Simplebooklet PDF Viewer and Embedder plugin for WordPress. The flaw affects all plugin versions up to and including 1.1.1. An authenticated attacker with low privileges can inject malicious script content that persists in the application and executes in the browsers of other users who view affected pages.
The vulnerability is tracked under CWE-79: Improper Neutralization of Input During Web Page Generation. It requires user interaction and results in a scope change, meaning injected scripts can affect resources beyond the vulnerable component.
Critical Impact
Authenticated attackers can inject persistent JavaScript that executes against site visitors and administrators, enabling session theft, account takeover, and WordPress admin compromise.
Affected Products
- Simplebooklet PDF Viewer and Embedder plugin for WordPress
- All versions from initial release through 1.1.1
- WordPress sites with the plugin installed and active
Discovery Timeline
- 2025-03-27 - CVE-2025-30922 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-30922
Vulnerability Analysis
The Simplebooklet PDF Viewer and Embedder plugin fails to properly neutralize user-supplied input before rendering it in generated web pages. An authenticated contributor-level or higher user can submit input containing JavaScript payloads through plugin-controlled fields. The plugin stores this input and later reflects it into page output without adequate encoding or sanitization.
Because the payload is stored in the WordPress database, every visitor who loads the affected page triggers execution of the attacker-controlled script. The CVSS vector indicates a scope change, which reflects the ability of injected scripts to interact with the browser context outside the vulnerable plugin itself, including the WordPress administrative interface.
Root Cause
The root cause is missing or insufficient output encoding when the plugin renders user-controlled values into HTML contexts. WordPress provides functions such as esc_html(), esc_attr(), and wp_kses_post() for safe output. The plugin either omits these functions or applies them incorrectly on fields reachable by authenticated low-privilege users.
Attack Vector
Exploitation requires network access, low privileges, and user interaction. An authenticated attacker uses legitimate plugin features to submit a payload containing script tags, event handlers, or JavaScript URIs. The malicious content is persisted in the WordPress database.
When an administrator or site visitor loads a page that renders the stored content, the payload executes in their browser session. Common follow-on actions include stealing authentication cookies, performing actions on behalf of administrators, injecting backdoor accounts, or redirecting users to attacker-controlled infrastructure. See the Patchstack XSS Vulnerability Advisory for additional technical context.
Detection Methods for CVE-2025-30922
Indicators of Compromise
- Unexpected <script> tags, onerror, onload, or javascript: URIs stored in Simplebooklet plugin database tables or post content
- Outbound HTTP requests from administrator browsers to unfamiliar domains following access to pages containing Simplebooklet embeds
- New or modified WordPress administrator accounts created shortly after plugin content was edited by a low-privilege user
- Unexplained changes to wp_options, theme files, or plugin files following rendering of booklet pages
Detection Strategies
- Review database content stored by the Simplebooklet plugin for HTML or JavaScript payloads using queries against wp_posts and plugin-specific tables
- Deploy a web application firewall rule set that inspects POST requests to WordPress plugin endpoints for XSS payloads
- Monitor WordPress audit logs for content modifications performed by contributor-level and author-level accounts
- Correlate browser-side errors and Content Security Policy violation reports with page views of booklet-containing posts
Monitoring Recommendations
- Enable WordPress security logging plugins to track user content submissions and administrator session activity
- Alert on creation of WordPress accounts with administrator roles outside documented change windows
- Baseline outbound traffic from administrator workstations and alert on connections to newly registered or low-reputation domains
- Track file integrity on wp-content/plugins/simplebooklet/ and core WordPress files for unauthorized modification
How to Mitigate CVE-2025-30922
Immediate Actions Required
- Audit WordPress installations for the Simplebooklet PDF Viewer and Embedder plugin and identify any version at or below 1.1.1
- Deactivate the plugin until a patched release is confirmed and installed if active exploitation is suspected
- Rotate credentials for all WordPress administrator accounts and invalidate active sessions
- Review recent plugin-generated content for injected script payloads and remove malicious entries
Patch Information
At the time of publication, the advisory indicates the vulnerability affects versions through 1.1.1. Site operators should consult the Patchstack XSS Vulnerability Advisory and the WordPress plugin repository for the current fixed release and upgrade immediately once available.
Workarounds
- Remove the Simplebooklet plugin from production WordPress sites until a verified patched version is installed
- Restrict contributor, author, and editor role assignments to trusted users only to reduce the attack surface for authenticated XSS
- Deploy a web application firewall with WordPress-aware rules to block common stored XSS payload patterns
- Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins
# Example WP-CLI commands to audit and deactivate the vulnerable plugin
wp plugin list --name=simplebooklet --fields=name,status,version
wp plugin deactivate simplebooklet
wp user list --role=administrator --fields=ID,user_login,user_email,user_registered
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

