Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or register contributor-level WordPress account
-
DeliveryCraft malicious attribute within 'ppwp' shortcode
-
ExploitPublish page or post containing injected payload
-
ExecutionVictim user or administrator browses to injected page
-
PersistStored script executes in victim's browser context
-
ImpactExfiltrate session token or perform privileged actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid WordPress account with contributor role or higher (PR:L confirmed by the provided CVSS vector). The attacker must have the ability to create or edit posts or pages that render the 'ppwp' shortcode. A victim - any site user, including administrators - must subsequently browse to the page containing the injected shortcode for the stored payload to execute in their browser. Exploitation is bounded by: (1) sites where untrusted or externally registered users hold contributor-level roles or above; (2) WordPress installations running PPWP plugin version 1.9.21 or earlier; and (3) the requirement that at least one other user views the attacker-controlled content. Sites that disable open contributor registration or require administrator approval for all editorial accounts have a materially reduced attack surface. |
| Impact | The CVSS 6.4 Medium vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) reflects network-accessible, low-complexity exploitation gated only by contributor-level authentication. Real-world risk is moderate but non-trivial: contributor accounts are a routine presence on WordPress sites with editorial workflows or guest posting, making the authentication barrier comparatively low. The Scope:Changed flag elevates practical impact - a stolen admin session obtained via the injected XSS can lead to full site takeover. No CISA KEV listing is present and no public exploit code is identified in available intelligence, reducing immediate mass-exploitation risk; however, WordPress plugin XSS vulnerabilities with low-privilege triggers are frequently targeted by automated scanning infrastructure, so the absence of current exploitation is not a permanent condition. The combination of stored persistence (payload survives across sessions) versus reflected XSS, and the low privilege requirement, makes this meaningfully more dangerous than the raw CVSS midrange score might suggest to teams triaging a large vulnerability backlog. |
| Exploit ScenarioDerived | An attacker registers or compromises a contributor-level WordPress account on the target site, then creates a post or page embedding a 'ppwp' shortcode with a crafted attribute containing injected JavaScript - for example, an inline event handler or script tag - that the plugin outputs unsanitized. When any site visitor, including a logged-in administrator, navigates to that page, the stored script executes in their browser context, allowing the attacker to exfiltrate session cookies, perform authenticated actions under the victim's identity, or install additional malicious content. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 25, 2026
Stored XSS in the PPWP - Password Protect Pages WordPress plugin (all versions up to and including 1.9.21) allows authenticated contributors to inject persistent malicious scripts via unsanitized attributes in the 'ppwp' shortcode. Any user or administrator who subsequently loads an affected page will execute the injected script in their browser, enabling session hijacking, credential theft, or escalated site compromise. No public exploit code or CISA KEV listing is identified at time of analysis; however, the CVSS Scope:Changed rating reflects meaningful cross-origin impact on visiting users beyond the injecting contributor.
RemediationAI
Update the PPWP - Password Protect Pages plugin to a version beyond 1.9.21 as soon as a patched release is available in the WordPress Plugin Directory. Two upstream commits have been applied to the plugin repository (changesets 3637624 and 3642939 at plugins.trac.wordpress.org), confirming that fixes were submitted upstream; however, the exact released version number incorporating these patches is not confirmed in available data and should be verified directly in the WordPress Plugin Directory or via the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/99772f4b-4152-42dc-8bde-697bba3d031f. As an interim workaround on sites where immediate update is not feasible, restrict contributor-level role assignment to fully trusted users only, or remove the capability to publish or edit posts from contributors - note that this may break existing editorial workflows. Disabling the 'ppwp' shortcode output entirely via a capability-restriction plugin is an alternative but will break password-protected pages that rely on it. Additionally, deploying a WAF rule (Wordfence provides one for premium subscribers) targeting malicious shortcode attribute injection can reduce exposure during the patching window.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability originates in the shortcode handler at includes/services/class-ppw-shortcode.php (line 544, referenced via the plugins.trac.wordpress.org source browser for the 1.9.12 tag) where user-supplied shortcode attributes are written to HTML output without sanitization or encoding. CWE-79 (Improper Neutralization of Input During Web Page Generation) describes this root cause class: attacker-controlled string data flows into rendered HTML, enabling script injection. The CPE identifier cpe:2.3:a:buildwps:ppwp_-_password_protect_pages:*:*:*:*:*:*:*:* confirms the affected component is the buildwps-authored plugin distributed under the WordPress.org slug 'password-protect-page'. The CVSS S:C (Scope Changed) metric reflects that the injected payload executes in the browser security context of visiting users - a distinct principal from the contributor who inserted the shortcode.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Contributor account required (PR:L); a victim must view the injected page (UI:R); payload executes in visiting user's browser scope (S:C), with no availability impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The PPWP - Password Protect WordPress | #1 Most-Reviewed Password Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'ppwp' shortcode in all versions up to, and including, 1.9.21 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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2025-210770
GHSA-gr4q-7mpw-mwqc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB