Skip to main content

AMP for WP EUVDEUVD-2026-128559

| CVE-2026-120686 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-18 Wordfence GHSA-fgmr-wj3h-cv66
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted comment with onclick string
  2. Delivery
    Comment stored pending moderation
  3. Exploit
    Administrator approves comment
  4. Execution
    AMP regex strips title attribute quote
  5. Impact
    Injected 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

AMP for WP – Accelerated Mobile Pages 0 ≤1.1.19

Affected Packages

euvd amp_for_wp_accelerated_mobile_pages no fix

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

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 7.2 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Medium
popular WordPress AMP plugin, large install base but not universal
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy