# CVE-2026-97336: CMB2 stored cross-site scripting in file_list field

Source: https://junglewise.ai/threats/cve-2026-97336-the-cmb2-plugin-for-wordpress-is-vulnerable-to-stored-cross-site  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-02. Updated: 2026-10-05  
License: CC BY 4.0 with a link back

CVE-2026-97336 · Severity: high · CVSS 7.2 · Published 2026-10-02

CMB2 is a developer library for WordPress that allows plugins and themes to build custom form fields. The plugin fails to properly sanitize and escape user input in file_list form fields, allowing attackers to inject malicious scripts that execute when other users view the affected pages. This vulnerability only impacts sites where file_list fields are exposed on public forms, and can lead to account takeover, credential theft, or malware distribution.

Technologies: [CMB2](https://junglewise.ai/threats/technologies/cmb2-cmb2). Vendors: [CMB2](https://junglewise.ai/threats/vendors/cmb2).

## Quick answers

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

**How severe is CVE-2026-97336?** High severity, with a CVSS score of 7.2, published 2 October 2026.

**Which products and versions are affected?** CMB2 up to 2.13.0.

**Is there a fix for CVE-2026-97336?** 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-97336 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-97336?** Check whether you run CMB2 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

CMB2 versions up to 2.13.0 contain insufficient input sanitization and output escaping in the file_list field type, enabling stored cross-site scripting (XSS). Unauthenticated attackers can inject arbitrary JavaScript into publicly accessible front-end forms or user meta boxes where file_list fields are registered; the payload persists and executes whenever users access the affected content. This requires a third-party integrating plugin or theme to expose file_list fields on public forms, as CMB2 does not do so by default.

## Affected products

- CMB2 CMB2 up to 2.13.0

## Timeline

- 2026-10-02: disclosed

## References

- [https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/CMB2_Field.php](https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/CMB2_Field.php)
- [https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/CMB2_Field.php](https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/CMB2_Field.php)

## Related threats

- [CMB2 WordPress plugin stored cross-site scripting in WYSIWYG field](https://junglewise.ai/threats/cve-2026-116761-the-cmb2-plugin-for-wordpress-is-vulnerable-to-stored-cross-site)
- [CMB2 for WordPress stored cross-site scripting in textarea_code field](https://junglewise.ai/threats/cve-2026-102772-the-cmb2-plugin-for-wordpress-is-vulnerable-to-stored-cross-site)
- [CMB2 Cross Site Scripting in subscriber functionality](https://junglewise.ai/threats/cve-2026-97270-subscriber-cross-site-scripting-xss-in-cmb2-2-13-0-versions)
