Description
The AMP for WP – Accelerated Mobile Pages plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content via Regex Transformation in all versions up to, and including, 1.1.16 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The crafted payload uses only WordPress-permitted comment tags and attributes (an anchor with href and title), and the AMP sanitizer pipeline omits javascript: protocol blocking, meaning neither the comment save filter nor the AMP output stage removes the malicious URI introduced by the transformation.
References8
- plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tag…
- plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tag…
- plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tag…
- plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tag…
- plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tag…
- plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tag…
- plugins.trac.wordpress.org/changeset?reponame=&old=3689899%40ac…
- www.wordfence.com/threat-intel/vulnerabilities/id/47ef0e19-8b67…
Metrics
- CVSS 3.1
-
7.2
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 22 · as of 9 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.