CVE-2026-2594
Received Received - Intake

Stored XSS in Smart Custom Fields WordPress Plugin

Vulnerability report for CVE-2026-2594, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-17

Last updated on: 2026-07-17

Assigner: Wordfence

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-17
Last Modified
2026-07-17
Generated
2026-07-17
AI Q&A
2026-07-17
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
smart_custom_fields smart_custom_fields to 5.0.7 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The Smart Custom Fields WordPress plugin has a stored cross-site scripting vulnerability in versions up to 5.0.7. It occurs because uploaded image attachment titles are not properly sanitized or escaped, allowing authenticated attackers with Author-level access or higher to inject malicious scripts. These scripts execute when users visit the affected pages.

Detection Guidance

Detection involves checking for the vulnerable Smart Custom Fields plugin version (up to 5.0.7) and inspecting WordPress sites for stored XSS payloads in image attachment titles. Review plugin versions via WordPress admin panel or database. Scan for unusual scripts in page content or titles.

Impact Analysis

Attackers could steal user sessions, redirect visitors to malicious sites, or perform actions on behalf of users. It requires an authenticated attacker with Author-level access or higher, limiting impact to users with those privileges.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, potentially violating GDPR (data protection) or HIPAA (healthcare data privacy) if exploited. Organizations may face compliance penalties if user data is compromised through such attacks.

Mitigation Strategies
  • Update the Smart Custom Fields plugin to the latest patched version immediately.
  • Remove or disable the plugin if updates are unavailable or if suspicious activity is detected.
  • Audit user roles with Author-level access or higher for unauthorized changes.
  • Scan WordPress sites for injected scripts in image titles or page content.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-2594. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart