Vulnerability 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 Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.1/includes/CMB2_Field_
- https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.1/includes/CMB2_Hookup
- https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.1/includes/CMB2_Saniti
- https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.1/includes/helper-func
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3720258%40cmb2&new=37
- https://www.wordfence.com/threat-intel/vulnerabilities/id/338d824c-e99a-48c2-884
FAQ
What is CVE-2026-102772?
CVE-2026-102772 is a vulnerability with a CVSS score of 7.2 (HIGH). 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...
How severe is CVE-2026-102772?
CVE-2026-102772 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-102772?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.