Intel

AIKIDO-2026-11113

craftcms/cms is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)GHSA-24x4-j6x9-rfw5 Published Jun 9, 2026

75

High Risk

This Affects:

PHPcraftcms/cms
3.5.0 - 4.17.15
Fixed in 4.17.16
5.0.0 - 5.9.22
Fixed in 5.9.23
Are you affected? Scan for Free

TL;DR

The craftcms/cms control panel Craft Support widget renders documentation search hits and support-form validation errors into the DOM without escaping user- or server-influenced strings. Search result titles are inserted through jQuery html concatenation, and error messages are appended as raw HTML list items. A control panel user who can influence those values can inject script that runs in another administrator's browser session. The fix HTML-escapes search result text and uses text-node insertion for validation errors.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

craftcms/cms is vulnerable to Cross-Site Scripting (XSS) in versions 3.5.0 - 4.17.15 and 5.0.0 - 5.9.22.

How to fix this

Upgrade the craftcms/cms library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform