# CVE-2026-6172: Bold Page Builder stored cross-site scripting in image shortcode

Source: https://junglewise.ai/threats/cve-2026-6172-the-bold-page-builder-plugin-for-wordpress-is-vulnerable-to-stored  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-30. Updated: 2026-09-30  
License: CC BY 4.0 with a link back

CVE-2026-6172 · Severity: medium · CVSS 6.4 · Published 2026-09-30

The Bold Page Builder WordPress plugin fails to properly sanitize user input in its image shortcode, allowing attackers with contributor-level access to inject malicious scripts. When a site administrator or other user views a page containing the injected code, the attacker's script executes in their browser with their privileges, potentially allowing account takeover or data theft.

Technologies: [Bold Page Builder](https://junglewise.ai/threats/technologies/bold-page-builder-1). Vendors: [Bold](https://junglewise.ai/threats/vendors/bold).

## Quick answers

**Is CVE-2026-6172 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-6172 being exploited in the wild.

**How severe is CVE-2026-6172?** Medium severity, with a CVSS score of 6.4, published 30 September 2026.

**Which products and versions are affected?** Bold Page Builder up to 5.7.2.

**Is there a fix for CVE-2026-6172?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-6172 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-6172?** Check whether you run Bold Page Builder at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

Stored XSS vulnerability in the bt_bb_image shortcode's caption parameter due to insufficient input sanitization and output escaping of user-supplied attributes. An authenticated attacker with Contributor-level access or higher can inject arbitrary JavaScript that persists in the database and executes in the browsers of any user viewing the affected page. A patch is available in versions after 5.7.2.

## Affected products

- Bold Page Builder up to 5.7.2

## Timeline

- 2026-09-30: disclosed

## References

- [https://plugins.trac.wordpress.org/changeset/3526548/bold-page-builder/trunk/content_elements/bt_bb_image/bt_bb_image.php](https://plugins.trac.wordpress.org/changeset/3526548/bold-page-builder/trunk/content_elements/bt_bb_image/bt_bb_image.php)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/3d36cad2-53ff-4515-94e3-25bc9f518070?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/3d36cad2-53ff-4515-94e3-25bc9f518070?source=cve)

## Related threats

- [Bold Page Builder stored cross-site scripting in bt_bb_service shortcode](https://junglewise.ai/threats/cve-2026-88037-the-bold-page-builder-plugin-for-wordpress-is-vulnerable-to)
- [Bold Page Builder stored XSS in bt_bb_section shortcode](https://junglewise.ai/threats/cve-2026-6173-the-bold-page-builder-plugin-for-wordpress-is-vulnerable-to-stored)
- [Bold Page Builder plugin stored XSS in bt_bb_icon shortcode](https://junglewise.ai/threats/cve-2026-6171-the-bold-page-builder-plugin-for-wordpress-is-vulnerable-to-stored)
- [Bold Page Builder stored XSS in bt_bb_css_image_grid shortcode](https://junglewise.ai/threats/cve-2026-6170-the-bold-page-builder-plugin-for-wordpress-is-vulnerable-to-stored)
