CVE-2026-97195

Secure Custom Fields < 6.9.8 - Admin+ Stored XSS via HTML Attribute Name Injection into Field Definition

Published Nov 8, 2026 CVSS 3.1 · 3.5 Low EPSS < 1% KEV · Not listed
Description
The Secure Custom Fields WordPress plugin before 6.9.8 does not sanitize a persisted field definition before emitting part of it as an HTML attribute name, allowing a user able to configure its fields to store a payload that executes as JavaScript in the browser of any user who views a page rendering the affected field, which on multisite lets a site administrator who lacks the unfiltered_html capability inject script into other users' sessions.

Analysis

AI-generated

Technical impact

The vulnerability exists in Secure Custom Fields WordPress plugin versions prior to 6.9.8, where a field definition is persisted without sanitization and later rendered as part of an HTML attribute name. An attacker who can configure fields can embed JavaScript that executes in the browsers of any user viewing a page that displays the affected field. In a multisite environment, a site administrator who does not possess the unfiltered_html capability can leverage this to inject scripts into other users’ sessions, potentially leading to session hijacking, defacement, or data exfiltration.

Affected Systems

WordPress sites running the Secure Custom Fields plugin version 6.9.7 or earlier are affected. The problem manifests for any configuration that allows admins or non‑admins with field‑definition capability to add custom fields. The issue is relevant to both single‑site and multisite WordPress installations, but the impact is amplified on multisite networks where a site admin can affect other sites through injected scripts.

Risk and Exploitability

The CVSS score of 3.5 reflects a low to moderate risk, and the EPSS score of < 1% indicates a low probability of exploitation in the general population. However, the vulnerability offers a stored XSS vector that can be triggered by users with field‑definition rights, including site administrators in a multisite scenario. Exploitation requires only the ability to create or edit a field definition, a privilege that many administrators possess. Because the script runs in the visitor’s browser, it can facilitate credential theft, cookie theft, or the execution of arbitrary JavaScript. Even with the low EPSS, the likelihood of exploitation can be considered moderate to high on actively managed sites.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Secure Custom Fields plugin to version 6.9.8 or later to fix the attribute‑name sanitization issue.
  • Restrict the ability to configure custom fields to administrators who hold the unfiltered_html capability, or temporarily remove that capability from site admins on multisite networks.
  • If an upgrade is not immediately possible, remove or deactivate the plugin and disable custom‑field creation until a fix is applied.

Generated by OpenCVE AI on November 8, 2026 at 20:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N'}

Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions secure Custom Fields
Vendors & Products Wordpress-extensions
Wordpress-extensions secure Custom Fields
Type Values Removed Values Added
Weaknesses CWE-79
Type Values Removed Values Added
Description The Secure Custom Fields WordPress plugin before 6.9.8 does not sanitize a persisted field definition before emitting part of it as an HTML attribute name, allowing a user able to configure its fields to store a payload that executes as JavaScript in the browser of any user who views a page rendering the affected field, which on multisite lets a site administrator who lacks the unfiltered_html capability inject script into other users' sessions.
Title Secure Custom Fields < 6.9.8 - Admin+ Stored XSS via HTML Attribute Name Injection into Field Definition
References
Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Nov 8, 2026, 7:05 PM
Reserved
Sep 24, 2026, 8:43 AM
Status
Deferred
Published
Nov 8, 2026, 6:17 AM
Modified
Nov 10, 2026, 4:28 PM