---
id: "CVE-2026-97195"
page: "https://infrastack.ai/live/CVE-2026-97195"
kind: "vulnerability"
aliases: ["CVE-2026-97195"]
title: "Secure Custom Fields WordPress plugin: stored script injection via field definitions"
severity: "medium"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["multisite", "package", "secure-custom-fields", "wordpress"]
not_affected_if: ["no-field-editing-users", "plugin-version-6.9.8-or-later"]
published_at: "2026-11-08T06:17:06+00:00"
first_seen_at: "2026-11-08T06:46:22+00:00"
updated_at: "2026-11-08T06:47:10+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-97195", "first_seen_at": "2026-11-08T06:46:22+00:00"}]
exploit_sources: []
---

# Secure Custom Fields WordPress plugin: stored script injection via field definitions

Link for people: https://infrastack.ai/live/CVE-2026-97195 (this .md is for agents)

The Secure Custom Fields WordPress plugin before 6.9.8 does not sanitize a saved field definition before printing part of it as an HTML attribute name. A user who can configure fields can store a script that runs in the browser of anyone who views a page showing that field, which on multisite lets a site administrator without unfiltered_html inject script into other users' sessions.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Secure Custom Fields version in the WordPress plugins screen or `wp plugin get secure-custom-fields --field=version`
- On multisite, list which sites have field-definition editing rights for administrators without unfiltered_html

## Fix

- Secure Custom Fields: `6.9.8` or later (per the advisory's 'before 6.9.8')

## Timeline

- 2026-11-08T06:46:22+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-97195

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
