CVE-2026-2027: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ampenhancer AMP Enhancer – Compatibility Layer for Official AMP Plugin
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.
AI Analysis
Technical Summary
CVE-2026-2027 identifies a stored cross-site scripting (XSS) vulnerability in the AMP Enhancer – Compatibility Layer for the Official AMP Plugin for WordPress, versions up to and including 1.0.49. The vulnerability stems from improper neutralization of input during web page generation, specifically in the AMP Custom CSS setting, where user-supplied attributes are not adequately sanitized or escaped before being rendered. This flaw allows an authenticated attacker with Administrator-level access or higher to inject arbitrary JavaScript code into pages served by the affected WordPress multi-site installations. The vulnerability is constrained to multi-site environments where the unfiltered_html capability is disabled, limiting the attack surface to certain configurations. Upon successful exploitation, the injected scripts execute in the context of any user visiting the compromised pages, potentially leading to session hijacking, privilege escalation, or defacement. The attack vector requires network access but no user interaction beyond the attacker’s own authenticated session. The CVSS v3.1 score of 4.4 reflects the medium severity, considering the requirement for high privileges and the limited impact on availability. No public exploits have been reported, and no patches are currently linked, indicating that mitigation may require configuration changes or vendor updates once available.
Potential Impact
For European organizations, especially those operating WordPress multi-site environments with the AMP Enhancer plugin, this vulnerability poses a risk of unauthorized script execution that can compromise administrative sessions and site integrity. While the attack requires administrator-level access, insider threats or compromised credentials could enable exploitation. The injected scripts could be used to steal sensitive information, manipulate site content, or pivot to further attacks within the network. Given the widespread use of WordPress in Europe, particularly in sectors such as media, education, and government, the vulnerability could affect high-profile targets. The limitation to multi-site installations and disabled unfiltered_html reduces the overall exposure but does not eliminate risk for organizations with complex WordPress deployments. The medium severity rating suggests that while the vulnerability is not critical, it still demands timely attention to prevent potential reputational damage and data confidentiality breaches.
Mitigation Recommendations
European organizations should immediately audit their WordPress environments to identify multi-site installations using the AMP Enhancer plugin up to version 1.0.49. Until an official patch is released, administrators should consider disabling or restricting access to the AMP Custom CSS setting to prevent malicious input. Implementing strict role-based access controls to limit administrator privileges and monitoring for unusual administrative activity can reduce exploitation risk. Employing Web Application Firewalls (WAFs) with custom rules to detect and block suspicious script injections targeting the AMP Custom CSS parameter can provide interim protection. Additionally, enabling security plugins that sanitize inputs and outputs or applying manual code reviews to the plugin’s handling of CSS inputs may mitigate the vulnerability. Organizations should also educate administrators about the risks of privilege misuse and enforce strong authentication mechanisms, such as multi-factor authentication, to prevent credential compromise. Regular backups and incident response plans should be updated to handle potential XSS incidents.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy, Spain, Poland, Sweden
CVE-2026-2027: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ampenhancer AMP Enhancer – Compatibility Layer for Official AMP Plugin
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.
AI-Powered Analysis
Technical Analysis
CVE-2026-2027 identifies a stored cross-site scripting (XSS) vulnerability in the AMP Enhancer – Compatibility Layer for the Official AMP Plugin for WordPress, versions up to and including 1.0.49. The vulnerability stems from improper neutralization of input during web page generation, specifically in the AMP Custom CSS setting, where user-supplied attributes are not adequately sanitized or escaped before being rendered. This flaw allows an authenticated attacker with Administrator-level access or higher to inject arbitrary JavaScript code into pages served by the affected WordPress multi-site installations. The vulnerability is constrained to multi-site environments where the unfiltered_html capability is disabled, limiting the attack surface to certain configurations. Upon successful exploitation, the injected scripts execute in the context of any user visiting the compromised pages, potentially leading to session hijacking, privilege escalation, or defacement. The attack vector requires network access but no user interaction beyond the attacker’s own authenticated session. The CVSS v3.1 score of 4.4 reflects the medium severity, considering the requirement for high privileges and the limited impact on availability. No public exploits have been reported, and no patches are currently linked, indicating that mitigation may require configuration changes or vendor updates once available.
Potential Impact
For European organizations, especially those operating WordPress multi-site environments with the AMP Enhancer plugin, this vulnerability poses a risk of unauthorized script execution that can compromise administrative sessions and site integrity. While the attack requires administrator-level access, insider threats or compromised credentials could enable exploitation. The injected scripts could be used to steal sensitive information, manipulate site content, or pivot to further attacks within the network. Given the widespread use of WordPress in Europe, particularly in sectors such as media, education, and government, the vulnerability could affect high-profile targets. The limitation to multi-site installations and disabled unfiltered_html reduces the overall exposure but does not eliminate risk for organizations with complex WordPress deployments. The medium severity rating suggests that while the vulnerability is not critical, it still demands timely attention to prevent potential reputational damage and data confidentiality breaches.
Mitigation Recommendations
European organizations should immediately audit their WordPress environments to identify multi-site installations using the AMP Enhancer plugin up to version 1.0.49. Until an official patch is released, administrators should consider disabling or restricting access to the AMP Custom CSS setting to prevent malicious input. Implementing strict role-based access controls to limit administrator privileges and monitoring for unusual administrative activity can reduce exploitation risk. Employing Web Application Firewalls (WAFs) with custom rules to detect and block suspicious script injections targeting the AMP Custom CSS parameter can provide interim protection. Additionally, enabling security plugins that sanitize inputs and outputs or applying manual code reviews to the plugin’s handling of CSS inputs may mitigate the vulnerability. Organizations should also educate administrators about the risks of privilege misuse and enforce strong authentication mechanisms, such as multi-factor authentication, to prevent credential compromise. Regular backups and incident response plans should be updated to handle potential XSS incidents.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-02-05T21:25:59.550Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 698ffec8c9e1ff5ad85c720b
Added to database: 2/14/2026, 4:49:12 AM
Last enriched: 2/14/2026, 5:03:53 AM
Last updated: 2/21/2026, 2:16:48 AM
Views: 33
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-27203: CWE-15: External Control of System or Configuration Setting in YosefHayim ebay-mcp
HighCVE-2026-27168: CWE-122: Heap-based Buffer Overflow in HappySeaFox sail
HighCVE-2026-27134: CWE-287: Improper Authentication in strimzi strimzi-kafka-operator
HighCVE-2026-27190: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in denoland deno
HighCVE-2026-27026: CWE-770: Allocation of Resources Without Limits or Throttling in py-pdf pypdf
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.