CVE-2026-25491: craftcms cms · Cross-site Scripting
Affects craftcms cmsSource CVE Database V5
Not known to be exploited · CVSS 1.9 Low : upgrade to 5.8.22 when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.8.22
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/E:PExploitation evidence
Disclosed: evidence found.
CVE published 9 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade craftcms cms to 5.8.22.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| craftcmscms | Affected
| Fixed in
|
AI-suggested
1. Upgrade CraftCMS to version 5.8.22 or later immediately to apply the official fix for this vulnerability. 2. Restrict permissions within the CMS to limit who can create or modify Entry Types, ensuring only trusted administrators have such privileges. 3. Implement strict input validation and sanitization policies on all user inputs, especially those that are rendered in administrative interfaces. 4. Conduct regular security audits and code reviews of CMS customizations to detect potential injection points. 5. Educate CMS users and administrators about the risks of stored XSS and encourage vigilance when interacting with Entry Type names or other user-generated content. 6. Monitor CMS logs for unusual activities related to Entry Type modifications or unexpected script executions. 7. Employ Content Security Policy (CSP) headers to reduce the impact of potential XSS by restricting script sources. 8. Consider isolating the CMS administrative interface behind VPNs or IP whitelisting to reduce exposure to unauthorized users.
Description
CVE-2026-25491 is a stored cross-site scripting (XSS) vulnerability in CraftCMS versions from 5.0.0-RC1 up to 5.8.21. The vulnerability arises because Entry Type names are not properly sanitized when displayed in the Entry Types list, allowing malicious scripts to be stored and executed in the context of the CMS interface. This flaw requires authenticated users with privileges to create or modify Entry Types and some user interaction to trigger the payload. The vulnerability has a low CVSS score of 1.9 and is fixed in version 5.8.