Skip to main content
VulnerabilityPublished

CVE-2026-25491: craftcms cms · Cross-site Scripting

Affects craftcms cmsSource CVE Database V5

0

Public exploit available · CVSS 1.9 Low : upgrade to 5.8.22 as a priority.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 4.0 base score
1.9Low
How severe the flaw is on the 0–10 CVSS scale.
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:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade craftcms cms to 5.8.22.

Affected software

ProductAffectedFixed in
craftcmscmsAffected
  • >=5.0.0-RC1 <5.8.22
Fixed in
  • 5.8.22

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.

References

Community reviews

Loading reviews…