CVE-2026-83591

AMP for WP <= 1.1.16 - Unauthenticated Stored Cross-Site Scripting via Comment Content Regex Transformation

Published Sep 25, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The AMP for WP plugin has a flaw that allows attackers who do not need to authenticate to permanently store malicious JavaScript code through the comment submission interface. The vulnerability arises from a regex transformation that fails to escape or block javascript: URIs during save and output filtering, giving the injected script a path to execute whenever a mitigated AMP page is rendered. Successful exploitation can lead to arbitrary script execution, enabling phishing, session hijacking, data theft, or defacement when visitors view affected pages.

Affected Systems

WordPress sites using the AMP for WP – Accelerated Mobile Pages plugin, versions 1.1.16 or earlier, are vulnerable. Upgrade to a newer, un‑vulnerable release to remove the risk.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.2, indicating high severity. No EPSS score is available, and the issue is not listed in CISA’s KEV catalog, so the precise likelihood of exploitation is unclear. The attack vector requires submitting a comment to a site that accepts user input; once stored in the database the malicious script will run for any visitor to the impacted page, giving the attacker broad impact on all site users. Because the condition does not require authentication, the barrier to attack is low and many sites may be exposed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a plugin version later than 1.1.16 where the regex sanitization bug is fixed.
  • If an upgrade is not immediately possible, disable the comment feature on AMP pages or block comment submission for unauthenticated users to prevent new malicious content from being stored.
  • Apply server‑side validation or a content‑filtering tool that strips or escapes javascript: URLs from comment fields before storage to mitigate the flaw until a patch is applied.

Generated by OpenCVE AI on September 25, 2026 at 09:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mohammed Kaludi
Mohammed Kaludi amp For Wp – Accelerated Mobile Pages
Wordpress
Wordpress wordpress
Vendors & Products Mohammed Kaludi
Mohammed Kaludi amp For Wp – Accelerated Mobile Pages
Wordpress
Wordpress wordpress
Type Values Removed Values Added
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.
Title AMP for WP <= 1.1.16 - Unauthenticated Stored Cross-Site Scripting via Comment Content Regex Transformation
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Sep 25, 2026, 1:00 PM
Reserved
Aug 31, 2026, 7:27 PM
Status
Deferred
Published
Sep 25, 2026, 7:16 AM
Modified
Sep 25, 2026, 2:17 PM