CVE-2025-22308 MEDIUM

CVE-2025-22308: WordPress Smart Custom FIelds plugin <= 5.0.0 - Cross Site Scripting (XSS) vulnerability

Vendor Takashi Kitajima
Product Smart Custom Fields
Weakness CWE-79 · XSS
Published January 7, 2025
Last update April 28, 2026

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Takashi Kitajima Smart Custom Fields smart-custom-fields allows Stored XSS.This issue affects Smart Custom Fields: from n/a through <= 5.0.0.

Explanation of Vulnerability in Simple Terms

02Summary

Smart Custom Fields versions up to 5.0.0 contain a stored cross-site scripting (XSS) vulnerability. An authenticated user with low privileges can inject malicious scripts into custom fields. When other users view pages containing these fields, the scripts execute in their browsers, potentially allowing the attacker to steal session tokens, modify page content, or perform actions on their behalf. The vulnerability requires user interaction—victims must visit a page displaying the affected field.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that execute when other users view pages with custom fields.

Potential impact on your site

04Site Impact

Users' sessions and data at risk; attackers can impersonate visitors and modify site content.

Conditions required to exploit

05Prerequisites

Attacker needs a low-privilege account and victim must visit a page displaying the injected field.

Key dates

06Disclosure timeline

January 7, 2025 CVE published
April 28, 2026 Record updated

Related vulnerabilities

08Related CVE