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

CVE-2025-1949

CVE-2025-1949 Cross-Site Scripting in Zzcms
📅 PUBLISHED: 2025-03-04 19:00 UTC 🔄 UPDATED: 2026-09-23 20:31 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.50%
👁️
0.50% probability
12.5× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
Country: China License: Proprietary
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.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-1949 is a reflected Cross-Site Scripting (XSS) vulnerability identified in ZZCMS 2025. The flaw resides in the /3/ucenter_api/code/register_nodb.php file, where the $_SERVER['PHP_SELF'] parameter is improperly sanitized. An attacker can inject arbitrary JavaScript code via the URL path, which is then reflected back to the victim's browser. This vulnerability is classified as problematic with a CVSS score of 0.0 (placeholder), but based on the vector, it has a low severity due to the requirement for user interaction. No official patch has been released, and a public proof-of-concept (PoC) is available.

⚡ 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

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The attack is executed remotely over the network.
  • Attack Complexity (AC): Low (L) – No special conditions are required for exploitation.
  • Privileges Required (PR): None (N) – No authentication is needed.
  • User Interaction (UI): Required (R) – The victim must click a crafted link.
  • Scope (S): Unchanged (U) – The vulnerability does not affect other components.
  • 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 impact on system availability.

Threat Level: Low. Exploitation requires user interaction, and the impact is limited to the victim's browser session.

Deep Dive & Mechanics

The vulnerability is triggered by manipulating the $_SERVER['PHP_SELF'] variable in the file /3/ucenter_api/code/register_nodb.php. In PHP, $_SERVER['PHP_SELF'] contains the script's filename and path as specified in the request URI. If the application echoes this value without proper HTML encoding, an attacker can inject malicious scripts by appending encoded payloads to the URL path.

For example, a request to:

http://target.com/3/ucenter_api/code/register_nodb.php/%22%3E%3Cscript%3Ealert(1)%3C/script%3E

would cause the server to reflect the injected script in the response, leading to XSS.

Vulnerable vs. Patched Code

Vulnerable Code (register_nodb.php):

<?php
// No sanitization of $_SERVER['PHP_SELF']
echo "You are here: " . $_SERVER['PHP_SELF'];
?>

Patched Code (Hypothetical):

<?php
// Sanitize output with htmlspecialchars
echo "You are here: " . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8');
?>

Exploitation & Lab Setup

Red Team (Attack Simulation)

  1. Setup: Deploy ZZCMS 2025 on a local server (e.g., XAMPP or Docker).
  2. Craft Payload: Use a URL-encoded XSS payload:
    http://localhost/3/ucenter_api/code/register_nodb.php/%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E
    
  3. Deliver: Send the link to a victim via email or social engineering.
  4. Execute: When the victim clicks the link, the script executes in their browser, potentially stealing cookies or performing actions on their behalf.

Blue Team (Defense & Detection)

  1. Monitor Logs: Look for unusual URL patterns containing script tags or encoded characters in the path.
  2. WAF Rules: Deploy a Web Application Firewall (WAF) rule to block requests with <script> in the URL path.
  3. Input Validation: Ensure all user-supplied data, including $_SERVER['PHP_SELF'], is sanitized before output.

Indicators of Compromise (IOCs)

  • Network: HTTP requests to /3/ucenter_api/code/register_nodb.php with encoded script tags in the path.
  • Logs: Server access logs showing %3Cscript%3E or similar patterns in the request URI.
  • File: Modified register_nodb.php if an attacker gains write access.

Detection Engineering

YARA Rule

rule CVE_2025_1949_XSS {
    meta:
        description = "Detects XSS attempts targeting CVE-2025-1949 in ZZCMS"
        author = "Valters IT"
        date = "2025-04-01"
    strings:
        $xss_payload = /register_nodb\.php\/[^\s]*%3Cscript%3E/i
    condition:
        $xss_payload
}

Sigma Rule

title: CVE-2025-1949 XSS Attempt
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects XSS attempts against ZZCMS register_nodb.php
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: '/3/ucenter_api/code/register_nodb.php/'
        cs-uri-query|contains: '<script>'
    condition: selection
falsepositives:
    - Legitimate use of script tags in URL (unlikely)
level: medium

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-1949 XSS Attempt"; flow:to_server,established; content:"GET"; http_method; content:"/3/ucenter_api/code/register_nodb.php/"; http_uri; content:"<script>"; http_uri; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Apply input sanitization to $_SERVER['PHP_SELF'] using htmlspecialchars() or similar functions.
  2. Short-term: Implement a WAF to block XSS patterns in URL paths.
  3. Long-term: Upgrade to a patched version of ZZCMS if available, or migrate to a supported CMS.
  4. User Education: Train users to avoid clicking suspicious links.

Valters IT
Securing Digital Frontiers

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