CVE-2026-102772: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in jtsternberg CMB2
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.
AI Analysis
Technical Summary
The CMB2 plugin for WordPress suffers from a stored cross-site scripting vulnerability (CWE-79) due to improper neutralization of input during web page generation. Specifically, the '<textarea_code field id>' parameter (e.g., kl_code, kl_post_code) is not properly sanitized or escaped in all versions up to and including 2.13.1. This allows unauthenticated attackers to inject arbitrary JavaScript that executes when users access the affected pages. The front-end save mechanism requires only a CMB2 box nonce, which is exposed to all visitors including unauthenticated guests via a simple GET request, making exploitation trivial on sites with a public CMB2 form containing a textarea_code field.
Potential Impact
An attacker can inject persistent malicious scripts into pages that will execute in the context of any user visiting those pages, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability requires no authentication and has a low attack complexity, increasing the risk of exploitation. The CVSS 3.1 base score is 7.2 (high), reflecting network attack vector, no privileges required, no user interaction, and partial confidentiality and integrity impact with no availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, administrators should avoid exposing public CMB2 forms with textarea_code fields or implement additional input validation and output escaping controls. Monitoring for suspicious activity related to CMB2 forms is recommended. Since no official fix or patch link is provided, closely follow jtsternberg's advisories for updates.
CVE-2026-102772: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in jtsternberg CMB2
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 v3.1
Score 7.2high
Affected software
jtsternberg
CMB2
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The CMB2 plugin for WordPress suffers from a stored cross-site scripting vulnerability (CWE-79) due to improper neutralization of input during web page generation. Specifically, the '<textarea_code field id>' parameter (e.g., kl_code, kl_post_code) is not properly sanitized or escaped in all versions up to and including 2.13.1. This allows unauthenticated attackers to inject arbitrary JavaScript that executes when users access the affected pages. The front-end save mechanism requires only a CMB2 box nonce, which is exposed to all visitors including unauthenticated guests via a simple GET request, making exploitation trivial on sites with a public CMB2 form containing a textarea_code field.
Potential Impact
An attacker can inject persistent malicious scripts into pages that will execute in the context of any user visiting those pages, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability requires no authentication and has a low attack complexity, increasing the risk of exploitation. The CVSS 3.1 base score is 7.2 (high), reflecting network attack vector, no privileges required, no user interaction, and partial confidentiality and integrity impact with no availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, administrators should avoid exposing public CMB2 forms with textarea_code fields or implement additional input validation and output escaping controls. Monitoring for suspicious activity related to CMB2 forms is recommended. Since no official fix or patch link is provided, closely follow jtsternberg's advisories for updates.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-09-29T16:39:17.455Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6abf6160a43b0b3b898ac6d6
Added to database: 10/02/2026, 07:46:40 UTC
Last enriched: 10/02/2026, 08:02:50 UTC
Last updated: 10/03/2026, 03:05:16 UTC
Views: 14
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.