StraitOfVuln
Latest / CVE-2026-120686

CVE-2026-120686

HighCVSS 7.2 (v3.1)Deferred
CVE.org ↗NVD ↗

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.

Details

CVE ID
CVE-2026-120686
Published / updated
18 Nov 2026, 12:17 UTC · last modified 18 Nov 2026, 14:17 UTC
Severity
HIGH
CVSS score
7.2 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N · Attack vector: Network
Affected vendor
mohammed_kaludi
Affected products
AMP for WP – Accelerated Mobile Pages
Affected versions
AMP for WP – Accelerated Mobile Pages: up to 1.1.19
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.40% probability of exploitation in the next 30 days · 36% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security@wordfence.com