CVE-2026-25496Cross-site Scripting in Craft CMS

Severity
4.8MEDIUMNVD
EPSS
0.0%
top 94.79%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 9

Description

Craft is a platform for creating digital experiences. In Craft versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, a stored XSS vulnerability exists in the Number field type settings. The Prefix and Suffix fields are rendered using the |md|raw Twig filter without proper escaping, allowing script execution when the Number field is displayed on users' profiles. This issue is patched in versions 4.16.18 and 5.8.22.

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Affected Packages3 packages

Packagistcraftcms/cms5.0.0-RC15.8.22+1
NVDcraftcms/craft_cms< 4.16.18+3
CVEListV5craftcms/cms>= 4.0.0-RC1, < 4.16.18, >= 5.0.0-RC1, < 5.8.22+1

Patches

🔴Vulnerability Details

3
OSV
Craft CMS Vulnerable to Stored XSS in Number Prefix & Suffix Fields2026-02-09
CVEList
Craft has a stored XSS in Number Prefix & Suffix Fields2026-02-09
GHSA
Craft CMS Vulnerable to Stored XSS in Number Prefix & Suffix Fields2026-02-09

🕵️Threat Intelligence

1
Wiz
CVE-2026-25496 Impact, Exploitability, and Mitigation Steps | Wiz
CVE-2026-25496 — Cross-site Scripting in Craft CMS | cvebase