BMI Adult & Kid Calculator <= 1.2.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'id_calc' Shortcode Attribute

Medium 6.4 CWE-79Fixed in 1.2.4
ID
WPSEC-2026-1421
Plugin
BMI Adult & Kid Calculator (bmi-adultkid-calculator)
Affected
all versions before 1.2.4
Remediation
Update to 1.2.4 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-22
Attack surface
BMI Adult & Kid Calculator on WPSec AttackSurface
Fix released
Published

Description

The BMI Adult & Kid Calculator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id_calc' attribute of the BMIAKC_kid_calc shortcode in all versions up to, and including, 1.2.3. This is due to insufficient input sanitization, as the attribute is output unquoted into inline JavaScript variable and function names with only esc_attr(), which does not prevent JavaScript injection. 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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0