Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted comment with onclick string
-
DeliveryComment stored pending moderation
-
ExploitAdministrator approves comment
-
ExecutionAMP regex strips title attribute quote
-
ImpactInjected script executes in visitor browsers
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 | Requires that the AMP for WP plugin (≤1.1.19) is active and comments are enabled on AMP-rendered post pages, where the ampforwp_the_content_filter_full() output-buffer callback runs on the 'wp' action at priority 999 (default plugin behavior). An unauthenticated attacker must craft a comment that passes WordPress kses filtering yet places a string like 'onclick="' inside a title attribute value so the tag-agnostic regex deletes the attribute's closing quote. The decisive limiting factor is that the payload is inert until an administrator approves the comment - on sites with active comment moderation this significantly reduces realistic exploitability; sites that auto-approve or loosely moderate comments are materially more exposed. Impact also depends on the comment being displayed on AMP (not just canonical) page output. |
| Impact | This is a genuine but second-tier priority. The CVSS 3.1 base score of 7.2 (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N) reflects a network-reachable, low-complexity stored XSS with a scope change, and the vuln.today decision label is 'this_week' rather than act_now/emergency. No EPSS score was supplied, so exploitation-probability modeling cannot be compared against the severity signal - this is a notable missing input. The vulnerability is NOT in CISA KEV and the status is 'no public exploit identified at time of analysis'; the only references are the Wordfence advisory and WordPress trac source lines, not working exploit code. The most important tension is between CVSS PR:N/UI:N (unauthenticated, no interaction) and the description's own mechanism: the injected comment only becomes live script 'after an administrator has approved the comment.' That privileged-moderation step is a meaningful real-world brake that the raw vector does not capture, pushing actual risk below what 7.2 suggests for sites that moderate comments, while sites with lax or auto-approval moderation are more exposed. Net: a real, defensible stored-XSS issue in a widely-used plugin worth patching this week, not a drop-everything emergency, and the absence of EPSS/KEV/confirmed PoC argues against imminent mass exploitation. |
| Exploit ScenarioDerived | An unauthenticated visitor submits a kses-legal comment on an AMP-rendered post that embeds a string such as 'onclick="' inside a title attribute value. After an administrator approves the comment, the plugin's output-buffer regex (/onclick=[^>]*/) strips the title attribute's closing quote during page rendering, causing the browser to re-parse the comment's textual content as live HTML and execute attacker-controlled script for every subsequent visitor to that AMP page. No public working exploit code is identified at time of analysis, only the Wordfence advisory and plugin source references. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Stored cross-site scripting in the AMP for WP - Accelerated Mobile Pages WordPress plugin (versions up to and including 1.1.19) lets an unauthenticated visitor place script-bearing markup into comment content that is echoed onto AMP post pages, where the plugin's late-stage output sanitizer corrupts HTML attribute boundaries instead of removing the payload. Rated 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N) by Wordfence, the flaw is inert until an administrator approves the comment, so sites with strict comment moderation are materially less exposed than sites that auto-approve comments. No public exploit code has been identified at time of analysis, and the issue is tracked for remediation within this week's patch cycle.
RemediationAI
The reference set includes a plugin repository changeset (r3787270 in accelerated-mobile-pages, see https://plugins.trac.wordpress.org/changeset?reponame=&old=3787270%40accelerated-mobile-pages&new=3787270%40accelerated-mobile-pages), indicating an upstream fix in the plugin code, but no released patched version number is listed in the available data, so confirm the current plugin release on wordpress.org and upgrade past 1.1.19 as soon as a fixed build is published. Where an immediate upgrade is not possible, reduce exploitability by forcing moderation so no comment is published without administrator review - the payload is inert until a comment is approved - and, more decisively, disable comment display on AMP-rendered post pages (or turn off comments on the affected templates) so kses-legal comment content never passes through the ampforwp_the_content_filter_full() output buffer; the trade-off is loss of community engagement on AMP pages. Deactivating AMP for WP entirely removes the vulnerable callback but drops AMP rendering for the whole site. Note that content-based filtering of the word 'onclick' in comments is not a reliable workaround, since the flaw is triggered by innocuous-looking text placed inside an attribute value and the damage occurs in the plugin's regex pass, not at submission time.
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 plugin registers an output-buffer callback, ampforwp_the_content_filter_full(), on the WordPress 'wp' action at priority 999, meaning it rewrites the fully assembled AMP page after approved comments have already been echoed into the response. That callback applies tag-agnostic and quote-agnostic regular expressions - notably the pattern matching 'onclick=' up to the next '>' - to the entire page string, with no awareness of HTML tag boundaries or attribute-value quoting. A comment that is legal under WordPress kses filtering can therefore carry a string such as 'onclick="' inside a title attribute value; when the regex strips matching text it also removes the title attribute's closing quote, and the browser re-parses what had been inert text inside the attribute value as live markup and event-handler attributes. This is a classic CWE-79 output-encoding failure realized through post-hoc regex sanitization rather than contextual escaping at render time. The affected component is the plugin's comment rendering path (components/comments/comments.php) combined with the filter implementation in includes/features/functions.php.
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:N/UI:N/S:C/C:L/I:L/A:N
Unauthenticated remote comment submission (PR:N, AV:N, AC:L); stored XSS crosses into visitors' browser context (S:C) with limited confidentiality/integrity impact and no availability impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The AMP for WP - Accelerated Mobile Pages plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 1.1.19 via comment content rendered on AMP post pages. The plugin registers an output-buffer callback ampforwp_the_content_filter_full() on the 'wp' action (priority 999) that applies a set of tag-agnostic and quote-agnostic regular expressions - notably /onclick=[^>]*/ - to the entire AMP page output after approved comments have already been echoed into it; these regexes do not understand HTML tag or attribute-value boundaries, so a kses-legal comment that places strings like 'onclick="' inside a title attribute value can trigger deletion of the title's closing quote, causing the browser to re-parse what was previously textual content inside the attribute value as live HTML attributes. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, after an administrator has approved the comment.
Articles & Coverage 1
Executive ViewAI
A high-severity stored cross-site scripting vulnerability in the AMP for WP plugin (versions up to 1.1.19) allows unauthenticated attackers to inject malicious scripts into comment content, which then execute on AMP post pages when viewed by visitors. This threatens the integrity and trust of public-facing WordPress sites, potentially enabling session hijacking, data theft, or redirection of users to malicious domains. Leadership should prioritize remediation due to the plugin's widespread use and the potential for reputational and operational damage.
Enforce strict comment moderation (manual approval of all comments), deploy WAF rules to block script-bearing comment content, and consider temporarily disabling the AMP for WP plugin until a patch is released.
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-2026-128559
GHSA-fgmr-wj3h-cv66
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB