Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Medium
VulnerabilityCVE-2026-2027cvecve-2026-2027cwe-79
Published: Sat Feb 14 2026 (02/14/2026, 04:35:39 UTC)
Source: CVE Database V5
Vendor/Project: ampenhancer
Product: 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

Machine-generated threat intelligence

AILast updated: 02/21/2026, 22:23:23 UTC

Technical Analysis

CVE-2026-2027 identifies a stored cross-site scripting vulnerability (CWE-79) in the AMP Enhancer – Compatibility Layer for the Official AMP Plugin for WordPress, present in all versions up to and including 1.0.49. The vulnerability stems from improper neutralization of user input in the AMP Custom CSS setting, where insufficient sanitization and output escaping allow injection of arbitrary JavaScript code. This flaw specifically affects multi-site WordPress installations where the unfiltered_html capability is disabled, limiting the ability to insert raw HTML but not preventing script injection via this vector. Exploitation requires an attacker to have authenticated administrator-level access or higher, enabling them to embed malicious scripts that persist in the site content. These scripts execute in the context of any user visiting the affected pages, potentially compromising user sessions, stealing credentials, or performing unauthorized actions. The vulnerability does not require user interaction to trigger once the malicious script is injected. The CVSS 3.1 base score is 4.4, reflecting network attack vector, high attack complexity, high privileges required, no user interaction, and limited confidentiality and integrity impact without availability impact. No public exploit code or active exploitation has been reported. The vulnerability highlights the risk of insufficient input validation in plugin settings that accept user-supplied CSS, especially in multi-site environments where administrative privileges are shared or delegated.

Potential Impact

The primary impact of CVE-2026-2027 is the potential for persistent cross-site scripting attacks on WordPress sites using the vulnerable AMP Enhancer plugin in multi-site configurations. Successful exploitation could allow attackers with administrator privileges to inject malicious JavaScript that executes in the browsers of site visitors and administrators. This can lead to session hijacking, credential theft, unauthorized actions performed on behalf of users, defacement, or distribution of malware. While the vulnerability requires high privileges to exploit, it poses a significant risk in environments where administrator accounts may be compromised or where insider threats exist. The multi-site context increases risk by potentially affecting multiple sites under a single WordPress installation. Given the widespread use of WordPress globally and the popularity of AMP for mobile optimization, organizations relying on this plugin could face reputational damage, data breaches, and operational disruptions if the vulnerability is exploited. However, the medium CVSS score and requirement for high privileges limit the threat to scenarios involving privileged user compromise.

Mitigation Recommendations

To mitigate CVE-2026-2027, organizations should immediately update the AMP Enhancer – Compatibility Layer plugin to a version where this vulnerability is fixed once available. Until a patch is released, administrators should restrict access to the AMP Custom CSS setting to only the most trusted users and audit administrator accounts for suspicious activity. Enabling strict input validation and sanitization on custom CSS inputs can reduce risk. Additionally, consider disabling or limiting multi-site installations if not required, as the vulnerability specifically affects multi-site setups. Employing Web Application Firewalls (WAFs) with custom rules to detect and block suspicious script injections in CSS fields can provide temporary protection. Regularly monitoring logs for unusual administrator actions and conducting security awareness training for privileged users will help prevent exploitation. Finally, ensure that the WordPress core, themes, and other plugins are kept up to date to minimize overall attack surface.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/21/2026, 10:23:23 PM

Last updated: 4/7/2026, 6:54:12 AM

Views: 67

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses