High severity · published Oct 2, 2026
CVE-2026-102772
CMB2 <= 2.13.1 - Unauthenticated Stored Cross-Site Scripting via 'textarea_code' Field
7.2
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 23% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CM
CMB2 · jtsternberg
through 2.13.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-102772
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-102772
www.wordfence.com
https://www.wordfence.com/threat-intel/vulnerabilities/id/338d824c-e99a-48c2-8844-4ca1104b5143?source=cve
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.1/includes/CMB2_Field_Display.php#L288
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.1/includes/CMB2_Sanitize.php#L464
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.1/includes/helper-functions.php#L320
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.1/includes/CMB2_Hookup.php#L900
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/changeset?reponame=&old=3720258%40cmb2&new=3720258%40cmb2
More from CMB2
7.2
CVE-2026-97336
CMB2 <= 2.13.0 - Unauthenticated Stored Cross-Site Scripting via 'file_list' Field Type
5.4
CVE-2026-116761
CMB2 <= 2.13.4 - Unauthenticated Stored Cross-Site Scripting via Grouped WYSIWYG Field via Front-End Form
