CVE-2026-135037 in AMP for WP Plugininfo

Summary

by MITRE • 11/26/2026

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Mohammed Kaludi AMP for WP accelerated-mobile-pages allows Stored XSS.This issue affects AMP for WP: from n/a through 1.1.21.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 11/26/2026

The identified security flaw represents a classic instance of Improper Neutralization of Input During Web Page Generation, commonly known as Cross-Site Scripting or XSS. Specifically, this vulnerability manifests as a Stored XSS within the AMP for WP plugin, which is widely used to accelerate mobile pages on WordPress websites by converting content into Accelerated Mobile Pages format. The root cause lies in the application's failure to adequately sanitize or validate user-supplied input before it is processed and subsequently rendered back to other users' browsers. Unlike reflected XSS where malicious scripts are executed immediately via a crafted link, stored vulnerabilities persist within the target server's database or file system, meaning that every time an affected page is loaded by any visitor, the embedded script executes automatically without further user interaction beyond viewing the content.

This specific vulnerability affects versions of AMP for WP ranging from its initial release through version 1.1.21. The persistence of this flaw across such a broad range of versions indicates a systemic lack of input validation in core functionality areas where user-generated content is accepted and displayed. When an attacker successfully exploits this weakness, they can inject malicious JavaScript code into the website's stored data. This could involve manipulating comment sections, profile fields, or any other input vector that feeds directly into the AMP page generation pipeline without proper encoding. The consequence is that the browser of any user visiting the compromised page will execute the injected script in the context of the vulnerable site, effectively granting the attacker significant control over the client-side environment.

The operational impact of this vulnerability extends beyond simple defacement or annoyance. Attackers can leverage stored XSS to perform session hijacking by stealing authentication cookies and tokens, thereby gaining unauthorized access to user accounts including administrative privileges if targeted correctly. Furthermore, it enables credential harvesting through fake login forms injected into the page content, phishing attacks that trick users into revealing sensitive information, and redirection of traffic to malicious sites hosting malware or ransomware. In enterprise environments, this can lead to significant data breaches, reputational damage, and compliance violations related to user privacy and security standards such as GDPR or HIPAA if personal identifiable information is compromised through these vectors.

From a classification perspective, this vulnerability aligns with CWE-79: Improper Neutralization of Input During Web Page Generation in multiple ways. It specifically falls under the sub-category of stored cross-site scripting where input is not properly encoded before being written to persistent storage and later retrieved for display. In terms of offensive security frameworks like MITRE ATT&CK, this exploitation technique maps to T1059: Command and Scripting Interpreter, with a specific focus on JavaScript execution within web browsers. It also relates to T1189: Drive-by Client Compilation if the script triggers automatic downloads or exploits browser vulnerabilities for further compromise. Understanding these mappings helps in categorizing the risk profile and aligning remediation efforts with established industry best practices for mitigating client-side code injection attacks.

To mitigate this vulnerability, immediate action is required to update the AMP for WP plugin to a version newer than 1.1.21 where the input validation mechanisms have been strengthened. Developers must implement strict output encoding using context-aware methods such as HTML entity encoding or JavaScript string escaping depending on where the data is rendered within the DOM structure. Input validation should be enforced at both the client and server sides, ensuring that only expected character sets are accepted while rejecting potentially dangerous payloads containing script tags, event handlers, or javascript URIs. Additionally, deploying a Web Application Firewall can provide an additional layer of defense by filtering out malicious requests before they reach the application logic. Regular security audits and code reviews focusing on data flow from input sources to output sinks are essential to prevent similar vulnerabilities in future updates and maintain the integrity of web applications against evolving threat landscapes.

Responsible

Patchstack

Reservation

11/23/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00334

KEV

no

Activities

very low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!