# CVE-2026-102772: CMB2 <= 2.13.1 - Unauthenticated Stored Cross-Site Scripting via 'textarea_code' Field

- Severity: High 7.2 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-10-02T07:39:22.836Z
- Modified: 2026-10-03T16:16:32.563Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- jtsternberg CMB2: up to 2.13.1

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/338d824c-e99a-48c2-8844-4ca1104b5143?source=cve>
- <https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.1/includes/CMB2_Field_Display.php#L288>
- <https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.1/includes/CMB2_Sanitize.php#L464>
- <https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.1/includes/helper-functions.php#L320>
- <https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.1/includes/CMB2_Hookup.php#L900>
- <https://plugins.trac.wordpress.org/changeset?reponame=&old=3720258%40cmb2&new=3720258%40cmb2>

## Sources

- CVE List: [CVE-2026-102772](https://www.cve.org/CVERecord?id=CVE-2026-102772), CVE Terms of Use, modified 2026-10-03
- NVD: [CVE-2026-102772](https://nvd.nist.gov/vuln/detail/CVE-2026-102772), Public domain, modified 2026-10-03

---

Page: https://cve.day/CVE-2026-102772 · Whole record: https://cve.day/CVE-2026-102772.json · Rebuilt by cve.day 2026-11-25T22:59:41.910Z
