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.
Published: 2026-11-08
Score: n/a
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting via Attribute Name Injection
Action: Patch promptly
AI Analysis

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

No CVSS score is provided and the EPSS score is unavailable, making precise risk quantification difficult. 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. In the absence of EPSS data, the likelihood of exploitation can be considered moderate to high, especially on actively managed sites.

Generated by OpenCVE AI on November 8, 2026 at 07:24 UTC.

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 07:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 08 Nov 2026 08:00:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions secure Custom Fields
Vendors & Products Wordpress-extensions
Wordpress-extensions secure Custom Fields

Sun, 08 Nov 2026 07:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79

Sun, 08 Nov 2026 06:15:00 +0000

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

Subscriptions

Wordpress-extensions Secure Custom Fields
cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-11-08T06:00:28.542Z

Reserved: 2026-09-24T08:43:31.127Z

Link: CVE-2026-97195

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-08T06:17:06.350

Modified: 2026-11-08T06:17:06.350

Link: CVE-2026-97195

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-08T07:45:14Z

Weaknesses
  • CWE-79

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