Skip to main content

Bootstrap Shortcode CVE-2026-7661

| EUVDEUVD-2026-29421 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-12 Wordfence GHSA-r99x-848h-xghh
6.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Contributor WordPress account
  2. Delivery
    Inject XSS payload in box shortcode
  3. Exploit
    Stored in database
  4. Execution
    Execute in visitor browser context
  5. Impact
    Steal cookies or escalate privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated WordPress user account with Contributor-level access or above (Editor, Author roles meet this threshold). The attacker must have permission to create or edit posts/pages where the vulnerable box shortcode is used. No special plugin configuration is required-the vulnerability exists in the default functionality of all versions up to 1.0. Limiting factors: sites with strict user role management that restrict Contributor access to trusted employees only reduce risk, but any site allowing external contributors, freelancers, or multiple authors faces elevated risk. Additionally, plugins or themes that apply aggressive content filtering via wp_kses_post() filters on shortcode output may partially mitigate the issue, though this is not guaranteed. The vulnerability does NOT require site visitors to click malicious links or interact with content-payload executes automatically on page load.

Impact

The CVSS 6.4 (Medium) score reflects a network-accessible vulnerability requiring low privilege (Contributor role) and no user interaction, with changed scope and limited confidentiality and integrity impact. The risk assessment is complicated by authentication requirements: while the CVSS vector shows PR:L (Contributor-level access required), this is a realistic scenario on WordPress sites with multiple authors, contributor accounts, or compromised accounts. The real-world risk depends on site governance-sites restricting Contributor access to trusted users only face lower risk, while sites with open registration or numerous contributors face higher risk. EPSS score and KEV status are not provided in available data; the absence of public exploit code and lack of CISA KEV listing suggest this is not yet under widespread active exploitation, but stored XSS vulnerabilities are trivial to weaponize and the bar for exploitation is low (any authenticated user with Contributor role can inject payload once). This is a genuine priority for sites with unvetted contributors or user-generated shortcode content, but lower priority for tightly controlled WordPress instances. The changed scope (S:C) is noteworthy-XSS executes in the context of site visitors, not just the attacker, allowing session hijacking, admin account compromise, or malware distribution across the site's audience.

Exploit ScenarioDerived

An attacker with a Contributor account on a WordPress site (obtained via social engineering, registration on an open-registration site, or account compromise) creates or edits a post and inserts a malicious box shortcode such as [box onload='fetch("/wp-admin/user-new.php", {method:"POST", body:"user=admin&pass=hacked"})']. When site administrators or other users view the published post, the JavaScript executes in their browser, stealing their session cookies or creating a new admin account for the attacker. This payload persists in the database and triggers for every visitor, amplifying the attack's reach.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 12, 2026

Stored cross-site scripting in the Bootstrap Shortcode plugin for WordPress allows authenticated attackers with Contributor-level access to inject arbitrary JavaScript into pages via the box shortcode, executing malicious scripts whenever users view affected pages. The vulnerability exists in all versions up to 1.0 due to insufficient input sanitization and output escaping. No public exploit code or active exploitation has been identified at this time.

RemediationAI

Update the Bootstrap Shortcode plugin to the patched version released by the vendor. No specific patched version number is confirmed from available data, but vendors typically release updates immediately upon disclosure; check the WordPress plugin repository and plugin settings dashboard for available updates. If no patched version is available from the vendor, temporarily disable the plugin entirely until a fix is released. As a temporary compensating control, restrict Contributor-level access to only trusted users by reviewing user roles in WordPress admin settings and downgrading unnecessary Contributor accounts to Subscriber role. Additionally, audit existing pages and posts for suspicious box shortcodes containing JavaScript or event handlers (look for patterns like onerror=, onclick=, or <script> tags within shortcode attributes). Apply Web Application Firewall (WAF) rules to detect and block stored XSS patterns in plugin shortcode parameters if available through your hosting provider. Note that these workarounds are incomplete and should not substitute for patching-stored XSS already injected will persist until the database is cleaned. For detailed remediation guidance, refer to the Wordfence vulnerability advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/2df53b60-c524-4ebd-9a99-ef8e14c140c7?source=cve.

Affected VersionsENISA

Bootstrap Shortcode 0 ≤1.0

Affected Packages

euvd bootstrap_shortcode no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Bootstrap Shortcode plugin processes user-supplied attributes within the box shortcode without proper sanitization or escaping before rendering output to the DOM. This is a classic stored XSS vulnerability (CWE-79) where attacker-controlled input persists in WordPress post/page content and executes in the browser context of all users viewing that page. The vulnerability is rooted in WordPress's shortcode handler mechanism, which requires developers to explicitly sanitize input via functions like sanitize_text_field() or wp_kses_post() and escape output via esc_html(), esc_attr(), or wp_kses_post() before rendering. The lack of these protections allows JavaScript injection through shortcode attributes. The affected CPE (cpe:2.3:a:shamim_d:bootstrap_shortcode:*:*:*:*:*:*:*:*) indicates all versions of the plugin from this vendor are in scope.

Know when Bootstrap Shortcode gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Bootstrap Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the box shortcode in all versions up to, and including, 1.0. This is 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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy