What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
The Global Body Mass Index Calculator contains a cross-site scripting (XSS) vulnerability in versions 1.2 and earlier. An attacker with low-level user access can inject malicious scripts that execute in other users' browsers, potentially stealing session data or performing actions on their behalf. The vulnerability affects the entire application scope due to how the flaw propagates.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in other users' browsers to steal data or perform unauthorized actions.
Potential impact on your site
04Site Impact
Users' sessions and data can be compromised by authenticated attackers; site reputation and user trust at risk.
Conditions required to exploit
05Prerequisites
Attacker must have low-level user account access; no user interaction required from victims.
Key dates
06Disclosure timeline
June 9, 2026
CVE published
June 9, 2026
Record updated