CVE-2026-97336 CMB2 <= 2.13.0 - Unauthenticated Stored Cross-Site Scripting via 'file_list' Field Type
Unauthenticated attackers can inject scripts via file_list fields in CMB2, requiring specific theme or plugin configurations to exploit.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-97336?
CVE-2026-97336 is a high-severity cross-site scripting vulnerability in jtsternberg CMB2, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The CMB2 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'file_list' Field Type in all versions up to, and including, 2.13.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is only exploitable when an integrating plugin or theme registers a file_list field on a publicly accessible front-end form or a user meta box, as CMB2 is a developer library and does not expose these fields by default.
Weakness: CWE-79
Which versions are affected by CVE-2026-97336?
How do I fix CVE-2026-97336?
No fix has been published for CVE-2026-97336 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-97336 being exploited?
There is no known exploitation of CVE-2026-97336 in the wild and no public exploit code.
Sources
Also known as GHSA-c4g5-wq6m-xp45.