CVE-2026-102772
HighCVSS 7.2Summary
The CMB2 plugin for WordPress in versions up to and including 2.13.1 is vulnerable to stored cross-site scripting (XSS) via the '<textarea_code field id>' parameter (e.g., kl_code, kl_post_code) due to insufficient input sanitization and output escaping. An unauthenticated attacker can inject arbitrary scripts into pages that execute when a user visits the 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 credentials on sites exposing a public CMB2 form writing a textarea_code field.
Risk Assessment
An attacker can execute arbitrary JavaScript in the user's browser, potentially leading to session theft, redirects, or other actions in the context of the site. This affects user confidentiality and data integrity.
Recommendation
Update the CMB2 plugin to a version later than 2.13.1 as soon as available. If updating is not possible, consider restricting public CMB2 forms or applying additional security measures.
Other vulnerabilities in CMB2
See all- CVE-2026-97336High
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 is only exploitable when an integrating plugin or theme registers a file_list field on a publicly accessible front-end form or user meta box.
- CVE-2026-97270Medium
Cross Site Scripting (XSS) vulnerability in CMB2 versions up to 2.13.0, exploitable by a subscriber.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

