---
id: CVE-2026-97336
title: >-
  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
summary: >-
  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 una…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: jtsternberg
product: CMB2
affected:
  - CMB2 <= 2.13.0
published: '2026-10-02'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T13:18:55.613'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97336'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/CMB2_Field.php#L617
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/CMB2_Field.php#L748
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/CMB2_Hookup.php#L953
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/CMB2_Sanitize.php#L100
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/CMB2_Utils.php#L690
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/helper-functions.php#L320
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/cmb2/tags/2.13.0/includes/types/CMB2_Type_File_List.php#L51
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3712103%40cmb2&new=3712103%40cmb2
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/2d61a1f1-137e-4856-b5ff-b100143a8b47?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-02T08:14:06.221Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
