CVE-2026-97019

AMP for WP <= 1.1.17 - Unauthenticated Stored Cross-Site Scripting via 'headline-*' Shortcode Attribute

Published Oct 28, 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 'headline-*' Shortcode Attribute in all versions up to, and including, 1.1.17 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. A Subscriber-level user can store a malicious shortcode in their biographical info field; because WordPress core's wp_filter_kses() only strips HTML tags and not shortcode syntax, and because AMP content sanitizers run before do_shortcode() processes the archive description, the synthesized markup is never post-sanitized.

Analysis

AI-generated

Technical impact

This vulnerability is a stored cross‑site scripting flaw caused by inadequate input validation and output escaping for the 'headline-*' shortcode attribute in the AMP for WP – Accelerated Mobile Pages plugin. An unauthenticated attacker can place malicious JavaScript within the shortcode payload stored in a user’s biographical field. When a page is rendered, the unsanitized shortcode is processed and the injected script is executed in the browsers of anyone who visits the page, allowing the attacker to hijack user sessions, deface content, or deliver further payloads. The weakness is a classic HTML injection problem (CWE‑79). The impact is data theft, user compromise, and potential spread of malware through unsuspecting visitors.

Affected Systems

The flaw affects all installations of the AMP for WP – Accelerated Mobile Pages plugin for WordPress from the vendor 'mohammed_kaludi' that run any version up to and including 1.1.17. The affected component is the shortcode handling code within the plugin, which parses and renders the 'headline-*' attributes without proper sanitization.

Risk and Exploitability

The CVSS score of 7.2 categorizes the flaw as high severity. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is inferred to be local to the WordPress installation, but because any website visitor can exploit it after a malicious shortcode is stored, the risk is effectively external. An attacker only needs to have access to a subscriber‑level user account to inject the payload, which can be obtained by registering a free account on the site. Once the shortcode is stored, every subsequent page view by any user triggers execution of the injected script in the visitor’s browser.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the AMP for WP – Accelerated Mobile Pages plugin to a version later than 1.1.17 or install the latest available release.
  • If an immediate update is not possible, remove or sanitize any use of the 'headline-*' shortcode attributes from all stored content, especially in user biographical fields.
  • Configure a web application firewall to filter or block malicious content in 'headline-*' shortcode attributes, reducing risk if update cannot be applied immediately.

Generated by OpenCVE AI on October 28, 2026 at 04:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mohammed Kaludi
Mohammed Kaludi amp For Wp
Wordpress-extensions
Wordpress-extensions amp For Wp
Vendors & Products Mohammed Kaludi
Mohammed Kaludi amp For Wp
Wordpress-extensions
Wordpress-extensions amp For Wp
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description The AMP for WP – Accelerated Mobile Pages plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'headline-*' Shortcode Attribute in all versions up to, and including, 1.1.17 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. A Subscriber-level user can store a malicious shortcode in their biographical info field; because WordPress core's wp_filter_kses() only strips HTML tags and not shortcode syntax, and because AMP content sanitizers run before do_shortcode() processes the archive description, the synthesized markup is never post-sanitized.
Title AMP for WP <= 1.1.17 - Unauthenticated Stored Cross-Site Scripting via 'headline-*' Shortcode Attribute
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
Oct 29, 2026, 1:51 AM
Reserved
Sep 23, 2026, 8:55 PM
Status
Deferred
Published
Oct 28, 2026, 3:17 AM
Modified
Oct 29, 2026, 2:16 AM