CVE-2026-2594 MEDIUM

CVE-2026-2594: Smart Custom Fields <= 5.0.7 - Authenticated (Author+) Stored Cross-Site Scripting via Attachment Title

Vendor Inc2734
Product Smart Custom Fields
Weakness CWE-79 · XSS
Published July 17, 2026
Last update July 17, 2026

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

Smart Custom Fields versions 5.0.7 and earlier contain a cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts. The vulnerability affects the scope beyond the vulnerable component, potentially impacting other users and site functionality. An attacker with low-level site access can craft malicious input that executes in other users' browsers when they view affected content.

What an attacker can do

03Attacker Capabilities

Inject and execute malicious JavaScript in other users' browsers to steal data or perform actions on their behalf.

Potential impact on your site

04Site Impact

Site users' sessions and data are at risk if an authenticated attacker injects malicious scripts into custom fields.

Conditions required to exploit

05Prerequisites

Attacker must have a low-privilege account on the site (e.g., contributor or subscriber role).

Key dates

06Disclosure timeline

July 17, 2026 CVE published

Related vulnerabilities

08Related CVE