CVE-2026-120686
published high CVSS 3.1 · 7.2AMP for WP <= 1.1.19 - Unauthenticated Stored Cross-Site Scripting via Comment Content
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mohammed_kaludi | — | AMP for WP – Accelerated Mobile Pages0 through 1.1.19 · Other versions: unaffected | Affected | Not stated | Wordfence |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mohammed_kaludi | AMP for WP – Accelerated Mobile Pages | 0 through 1.1.19 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation
References
8- https://plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/components/comments/comments.php#L77
- https://plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/components/comments/comments.php#L89
- https://plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/includes/features/functions.php#L274
- https://plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/includes/features/functions.php#L275
- https://plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/includes/features/functions.php#L292
- https://plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/includes/features/functions.php#L322
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3787270%40accelerated-mobile-pages&new=3787270%40accelerated-mobile-pages
- https://www.wordfence.com/threat-intel/vulnerabilities/id/76b54fdf-9a41-47b9-8579-0ecbfc3663c0?source=cve
Provider assertions
2Wordfence · cna
AMP for WP <= 1.1.19 - Unauthenticated Stored Cross-Site Scripting via Comment Content
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 406f98a7c9a328f866b0096caae17173e47bcb06dd1f8feccd369d7c6dfd4a47
- Ingested
- 18 Nov 2026, 14:11:55 UTC
- Source record
- Official CVE record