CVE-2026-97336CMB2 <= 2.13.0 - Unauthenticated Stored Cross-Site Scripting via 'file_list' Field Type
The CMB2 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'file_list' Field Type in all versions up to, and including, 2.13.0 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. This is only exploitable when an integrating plugin or theme registers a file_list field on a publicly accessible front-end form or a user meta box, as CMB2 is a developer library and does not expose these fields by default.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by Wordfence, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- jtsternberg CMB2: affected: up to 2.13.0
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/2d61a1f1-137e-4856-b5ff-b100143a8b47?source=cve
- https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/CMB2_Utils.php#L690
- https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/types/CMB2_Type_File_List.php#L51
- https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/CMB2_Field.php#L617
- https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/CMB2_Field.php#L748
- https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/CMB2_Sanitize.php#L100
- https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/helper-functions.php#L320
- https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/CMB2_Hookup.php#L953
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3712103%40cmb2&new=3712103%40cmb2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.