CVE-2024-47765
CVE-2024-47765 · Minecraft MOTD Parser's HtmlGenerator vulnerable to XSS
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Minecraft MOTD Parser is a PHP library to parse minecraft server motd. The HtmlGenerator class is subject to potential cross-site scripting (XSS) attack through a parsed malformed Minecraft server MOTD. The HtmlGenerator iterates through objects of MotdItem that are contained in an object of MotdItemCollection to generate a HTML string. An attacker can make malicious inputs to the color and text properties of MotdItem to inject own HTML into a web page during web page generation. For example by sending a malicious MOTD from a Minecraft server under their control that was queried and passed to the HtmlGenerator. This XSS vulnerability exists because the values of these properties are neither filtered nor escaped. This vulnerability is fixed in 1.0.6.
CVSS 6.9 · Medium · EPSS 0.4% · Fix available
- Published
- Updated
Stack: php
Affected products and versions
minecraftmotdparser
- Versions
- < 1.0.6: Affected
No fix published
dev-lancer/minecraft-motd-parser Packagist
- Versions
- v0.1
- v0.2
- v1.0
- v1.0.1
- v1.0.2
- v1.0.3
- v1.0.4
- v1.0.5
- Affected ranges
- ECOSYSTEM: < 1.0.6
Update to 1.0.6