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

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. 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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.