Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. CVE-2026-25491

CVE-2026-25491: Craft CMS Vulnerable to Stored XSS in Entry Types Name

February 9, 2026

Stored XSS via Entry Type names. The name is not sanitized when displayed in the Entry Types list.


References

  • github.com/advisories/GHSA-7pr4-wx9w-mqwr
  • github.com/craftcms/cms
  • github.com/craftcms/cms/commit/cfd6ba0e2ce1a59a02d75cae6558c4ace1ab8bd4
  • github.com/craftcms/cms/releases/tag/5.8.22
  • github.com/craftcms/cms/security/advisories/GHSA-7pr4-wx9w-mqwr
  • nvd.nist.gov/vuln/detail/CVE-2026-25491

Code Behaviors & Features

Detect and mitigate CVE-2026-25491 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.0.0-RC1 before 5.8.22

Fixed versions

  • 5.8.22

Solution

Upgrade to version 5.8.22 or above.

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/craftcms/cms/CVE-2026-25491.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:17:26 +0000.