CVE-2026-8883
Received Received - Intake
Stored XSS in Global Body Mass Index Calculator WordPress Plugin

Publication date: 2026-06-09

Last updated on: 2026-06-09

Assigner: Wordfence

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-09
Last Modified
2026-06-09
Generated
2026-06-09
AI Q&A
2026-06-09
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
gbmicalc global_body_mass_index_calculator to 1.2 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The Global Body Mass Index Calculator plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in versions up to and including 1.2. This occurs because the plugin does not properly sanitize or escape user-supplied shortcode attributes in the GBMI_Calc_Widget::widget() function.

Specifically, shortcode attributes are extracted directly into local variables and then echoed without escaping into HTML style attributes and body context, which allows attackers to inject malicious scripts.

Authenticated users with contributor-level access or higher can exploit this to inject arbitrary web scripts that execute whenever a user views the infected page.

Impact Analysis

This vulnerability allows an attacker with contributor-level access or above to inject malicious scripts into pages on a WordPress site using the vulnerable plugin.

When other users visit these pages, the injected scripts execute in their browsers, potentially leading to theft of sensitive information, session hijacking, or other malicious actions.

Because the attack is stored, the malicious code persists on the site and affects all visitors to the compromised pages.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-8883. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart