NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

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

lowCVSS 4.0 1.9GHSA-7pr4-wx9w-mqwr

Summary Stored XSS via Entry Type names. The name is not sanitized when displayed in the Entry Types list. --- Proof of Concept Required Permissions (Attacker) - Admin access (only admins have access to the settings page) - allowAdminChanges is enabled in production, which is against our security recommendations. Steps to Reproduce 1. Log in as an attacker. 2.

Published Feb 9, 2026

Affected packages

craftcms/cms

Ecosystem
Composer (PHP)
Affected
>= 5.0.0-RC1, <= 5.8.21
Fixed in
5.8.22
Check
composer show craftcms/cms

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Summary

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

---

Proof of Concept

Required Permissions (Attacker)

  • Admin access (only admins have access to the settings page)
  • allowAdminChanges is enabled in production, which is against our security recommendations.

Steps to Reproduce

  1. Log in as an attacker.
  2. Go to Settings -> Entry Types (/admin/settings/entry-types).
  3. Create a new Entry Type.
  4. Set Name to:
  1. Save the Entry Type, and you’ll be redirected back to the entry types table automatically.
  2. Notice the alert fires when the entry types table renders.

Credited to mHe4am.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries