MediumGHSA-qpgm-gjgf-8c2xCVE-2023-33195

Craft CMS XSS in RSS widget feed

Published 26 May 2023 · Updated 10 Sept 2026

Affected package

craftcms/cmsComposer
Affected
>=4.3.0 <4.4.6
Fixed in
4.4.6
Update to the fixed version for your release line, for example:composer require craftcms/cms:^4.4.6

Details

Summary

A malformed RSS feed can deliver an XSS payload

PoC

Create an RSS widget and add the domain https://blog.whitebear.vn/file/rss-xss2.rss The XSS payload will be triggered by the title in tag <item>

Resolved in https://github.com/craftcms/cms/commit/b77cb3023bed4f4a37c11294c4d319ff9f598e1f

Is GHSA-qpgm-gjgf-8c2x in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected craftcms/cms, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.