CVE-2024-47765

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-47765
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47765.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-47765
Aliases
Published
2024-10-04T15:15:13Z
Modified
2025-05-19T10:19:44.022404Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/jgniecki/minecraftmotdparser

Affected ranges

Type
GIT
Repo
https://github.com/jgniecki/minecraftmotdparser
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1
v0.2

v1.*

v1.0
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.0.5