CVE-2026-25491
Undergoing Analysis Undergoing Analysis - In Progress
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
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-09
Last Modified
2026-02-19
Generated
2026-06-16
AI Q&A
2026-02-09
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
craftcms craft_cms From 5.0.0 (inc) to 5.8.21 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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 Quick Actions
Instant insights powered by AI
Executive Summary

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.

Impact Analysis

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.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

To mitigate this vulnerability, upgrade Craft to version 5.8.22 or later, where the stored XSS via Entry Type names is fixed.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-25491. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart