XSS in Jgniecki Minecraft Motd Parser

CVE-2024-47765

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.004 (29.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-47765?
CVE-2024-47765 is a medium-severity vulnerability in Jgniecki Minecraft Motd Parser, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2024-10-04.
How severe is CVE-2024-47765?
Medium severity. CVSS v3 base score is 6.1 out of 10.