Skip to content

Craft CMS XSS in RSS widget feed

Moderate severity GitHub Reviewed Published May 25, 2023 in craftcms/cms • Updated Nov 7, 2023

Package

composer craftcms/cms (Composer)

Affected versions

>= 4.3.0, <= 4.4.5

Patched versions

4.4.6

Description

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 craftcms/cms@b77cb30

References

@angrybrad angrybrad published to craftcms/cms May 25, 2023
Published to the GitHub Advisory Database May 26, 2023
Reviewed May 26, 2023
Published by the National Vulnerability Database May 27, 2023
Last updated Nov 7, 2023

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2023-33195

GHSA ID

GHSA-qpgm-gjgf-8c2x

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.