Global Body Mass Index Calculator
- <= 1.2
A stored cross-site scripting vulnerability has been identified in the Global Body Mass Index Calculator plugin for WordPress, affecting versions through 1.2. The issue arises from inadequate input sanitization and output escaping of user-supplied shortcode attributes in the 'GBMI_Calc_Widget::widget()' function. Shortcode attributes are directly extracted into local variables and then echoed without proper escaping into HTML style attributes and body context. This vulnerability allows authenticated attackers with contributor-level access or higher to inject arbitrary scripts into pages, which are executed when users access the injected content.
Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the page.
To reproduce this vulnerability, an authenticated user with contributor-level access or higher can insert a 'gbmicalc' shortcode with crafted attributes that include JavaScript payloads. Once the shortcode is rendered on a page, the injected scripts will execute when the page is viewed.
No known patch is available. It is recommended to uninstall the affected plugin and find a replacement.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.