CVE-2026-102772 CMB2 <= 2.13.1 - Unauthenticated Stored Cross-Site Scripting via 'textarea_code' Field
Unauthenticated attackers can inject arbitrary scripts via the textarea_code field in the CMB2 WordPress plugin, leading to stored XSS.
- 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-102772?
CVE-2026-102772 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 the '<textarea_code field id> (e.g. kl_code, kl_post_code)' parameter in all versions up to, and including, 2.13.1 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. The front-end save path requires only a CMB2 box nonce, which is emitted to all visitors including unauthenticated guests via a simple GET request, making the attack trivially reachable without any credentials on sites that expose a public CMB2 form writing a textarea_code field.
Weakness: CWE-79
Which versions are affected by CVE-2026-102772?
How do I fix CVE-2026-102772?
No fix has been published for CVE-2026-102772 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-102772 being exploited?
There is no known exploitation of CVE-2026-102772 in the wild and no public exploit code.
Sources
Also known as GHSA-3cr2-3237-fc84.