Smart Custom Fields WordPress Plugin Stored Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in the Smart Custom Fields plugin for WordPress, affecting versions 5.0.7 and earlier. The issue arises from inadequate input sanitization and output escaping of image attachment titles, allowing authenticated attackers with Author-level access or higher to inject arbitrary scripts into pages. These scripts would execute when a user accesses the compromised page.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the page.

Remediation

Users can update to version 5.0.8 or a newer patched version to address this vulnerability.

Added: Jul 17, 2026, 3:40 AM
Updated: Jul 17, 2026, 3:40 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
5.7
remediation
0.0
relevance
9.7
threat
3.2
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.