Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Author-level WordPress credentials
-
DeliveryUpload image with crafted XSS payload in attachment title
-
ExploitPlugin stores unsanitized title in WordPress database
-
ExecutionVictim visits page rendering the attachment title
-
PersistMalicious script executes in victim browser
-
ImpactSession 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-45122
GHSA-xpfv-qr3c-jw2p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB