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.