CVE-2026-2027
Description
The AMP Enhancer – Compatibility Layer for Official AMP Plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the AMP Custom CSS setting in all versions up to, and including, 1.0.49 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
Affected WordPress components
-
amp-enhancer Plugin · amp-enhancerUp to and including 1.0.49View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- ampenhancer AMP Enhancer – Compatibility Layer for Official AMP Plugin — Up to and including 1.0.49
References
- gist.github.com https://gist.github.com/indonumberone/b373b970da88e87a218aed58d92ccfb2
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/amp-enhancer/tags/1.0.49/admin/amp-enhancer-custom-css/amp-enhancer-custom-css.php#L13
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/amp-enhancer/trunk/admin/amp-enhancer-custom-css/amp-enhancer-custom-css.php#L13
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/14014260-e872-48d8-8788-f89dbeec2080?source=cve
- nvd.nist.gov Official NVD record