Skip to main content

Smart Custom Fields EUVDEUVD-2026-45122

| CVE-2026-2594 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-17 Wordfence GHSA-xpfv-qr3c-jw2p
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Author-level WordPress credentials
  2. Delivery
    Upload image with crafted XSS payload in attachment title
  3. Exploit
    Plugin stores unsanitized title in WordPress database
  4. Execution
    Victim visits page rendering the attachment title
  5. Persist
    Malicious script executes in victim browser
  6. Impact
    Session token or credentials exfiltrated

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated WordPress user account with at minimum Author-level privileges - this is the critical limiting condition. Author-level access allows media uploads; without it, the injection vector is unavailable. The vulnerability is triggered specifically during the upload of an image attachment with a crafted title, via the Smart Custom Fields plugin's attachment handling code. Sites that restrict new user registration or do not grant Author roles to untrusted users have significantly reduced exposure. The injected payload executes on any page where the plugin renders the attachment title, which requires a victim user to navigate to such a page (UI:R in practice, despite the NVD vector stating UI:N). Exploitation is not limited to any specific WordPress theme or configuration beyond the plugin being installed and active. No network-adjacent or local-only constraint applies - the attack is fully remote.

Impact

The NVD-assigned CVSS 3.1 score of 6.4 (Medium) reflects the network-accessible, low-complexity attack with low privilege requirements and changed scope, but uses UI:N - which is atypical for stored XSS where a victim must navigate to the injected page. A more precise scoring would use UI:R, reducing the base score to approximately 5.4. Despite the medium CVSS, real-world risk is elevated on sites that allow open or semi-open author registration, where the PR:L (Author-level) prerequisite is a weak barrier. The partial patch status in version 5.0.7 - explicitly noted in the CVE description - introduces ambiguity: defenders cannot confidently rely on 5.0.7 as a clean remediation target without verifying which attack surface each Trac changeset (3485210 and 3609564) addresses. No EPSS score was provided in the source data. No KEV listing and no POC code were identified, suggesting this has not yet been weaponized at scale. Overall: moderate priority for sites with author-accessible registration; lower priority for closed editorial WordPress instances.

Exploit ScenarioDerived

An attacker registers or compromises an Author-level WordPress account on the target site, then uploads an image whose attachment title contains a JavaScript payload such as a cookie-stealing script. When a site administrator or visitor views any post or page where the Smart Custom Fields plugin renders that attachment title without escaping, the injected script executes in their browser. No public proof-of-concept code was identified at time of analysis, but the attack technique is well-understood and trivially constructible from the CWE-79 description.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 17, 2026

Stored cross-site scripting in the Smart Custom Fields WordPress plugin (versions up to and including 5.0.7) enables authenticated attackers holding at minimum Author-level access to persist malicious JavaScript payloads by supplying unsanitized content in uploaded image attachment titles. Any site visitor who subsequently loads an affected page triggers execution of the injected script within their browser, enabling session hijacking, credential harvesting, or unauthorized actions on behalf of that user. No active exploitation has been confirmed by CISA KEV and no public exploit code has been identified at time of analysis; however, the vulnerability is partially unresolved even in the stated boundary version 5.0.7, making the precise remediation target unclear without consulting the referenced patch changesets.

RemediationAI

The primary remediation path is to update to the version of Smart Custom Fields that incorporates the complete fix referenced in the WordPress plugin repository changesets 3485210 (https://plugins.trac.wordpress.org/changeset/3485210/smart-custom-fields) and 3609564 (https://plugins.trac.wordpress.org/changeset/3609564/smart-custom-fields). Because version 5.0.7 is explicitly described as only partially patched, administrators should verify via the WordPress plugin admin dashboard or the plugin's changelog that their installed version post-dates both referenced changesets. An exact fully-remediated release version was not independently confirmed from the available source data - confirm the target version with the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/110a1b28-50e0-430e-82d4-c254d73836e2 before updating. As a compensating control where immediate patching is not possible, restricting the Author role from uploading media attachments (via a role management plugin such as Members or User Role Editor) eliminates the primary attack vector, though this may disrupt editorial workflows. Alternatively, a Web Application Firewall rule blocking stored XSS payloads in attachment title fields can provide partial mitigation, though WAF bypass techniques exist.

Affected VersionsENISA

Smart Custom Fields 0 ≤5.0.7

Affected Packages

euvd smart_custom_fields no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the Smart Custom Fields plugin (CPE: cpe:2.3:a:inc2734:smart_custom_fields:*:*:*:*:*:*:*:*), a WordPress plugin by inc2734 that provides customizable meta field management for posts and pages. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a failure to sanitize and escape image attachment titles before they are stored in the WordPress database and later rendered in page output. Because the injected data persists server-side and is emitted to every subsequent visitor without escaping, this is a Stored (Persistent) XSS variant - more impactful than Reflected XSS because a single injection can affect many victims. The vulnerability sits in the file upload and attachment handling path of the plugin, not the core WordPress media library.

Know when Smart Custom Fields gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

UI:R applied because stored XSS impact requires victim page navigation; PR:L reflects mandatory Author-level authentication; S:C for cross-browser scope change.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Smart Custom Fields plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 5.0.7. This is due to insufficient input sanitization and output escaping of uploaded image attachment titles. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. NOTE: This vulnerability was partially patched in 5.0.7.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
niche WordPress plugin, moderate install base among custom-fields users
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy