CVE-2026-25491
Stored XSS in Craft Entry Type Names Allows Script Injection
Publication date: 2026-02-09
Last updated on: 2026-02-19
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| craftcms | craft_cms | From 5.0.0 (inc) to 5.8.21 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability affects the Craft platform, specifically versions from 5.0.0-RC1 to 5.8.21. It is a stored Cross-Site Scripting (XSS) issue that occurs via Entry Type names. The problem arises because the Entry Type names are not properly sanitized when displayed in the Entry Types list, allowing malicious scripts to be stored and executed.
How can this vulnerability impact me? :
The stored XSS vulnerability can allow an attacker to inject malicious scripts into the Entry Type names, which are then executed in the context of users viewing the Entry Types list. This can lead to unauthorized actions, data theft, session hijacking, or other malicious activities depending on the attacker's intent and the privileges of the affected users.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, upgrade Craft to version 5.8.22 or later, where the stored XSS via Entry Type names is fixed.