AMP for WP <= 1.1.19 - Unauthenticated Stored Cross-Site Scripting via Comment Content
Summary
| CVE | CVE-2026-120686 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-18 12:17:04 UTC |
| Updated | 2026-11-18 14:17:29 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 7.2 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Mohammed Kaludi | AMP For WP Accelerated Mobile Pages | affected 1.1.19 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/components/comme... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/includes/feature... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/components/comme... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/includes/feature... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/includes/feature... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/changeset | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/76b54fdf-9a41-47b9-8579-0ecbf... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/includes/feature... | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Kohav (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-11-17T21:47:26.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.