CyberRota Analysis
AI-GeneratedThe CMB2 plugin for WordPress is vulnerable to Stored Cross-Site Scripting due to inadequate input sanitization and output escaping in the '<textarea_code field id>' parameter, affecting all versions up to 2.13.1. This vulnerability allows unauthenticated attackers to inject malicious scripts that execute when users access compromised pages, posing a significant risk to site integrity and user data. WordPress site administrators using the CMB2 plugin should prioritize patching this vulnerability to protect against potential exploitation.
Original NVD 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.