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.
History

Wed, 13 Nov 2024 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Jgniecki minecraft Motd Parser
CPEs cpe:2.3:a:jgniecki:minecraft_motd_parser:*:*:*:*:*:*:*:*
Vendors & Products Jgniecki minecraft Motd Parser
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Mon, 07 Oct 2024 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Jgniecki
Jgniecki minecraftmotdparser
CPEs cpe:2.3:a:jgniecki:minecraftmotdparser:*:*:*:*:*:*:*:*
Vendors & Products Jgniecki
Jgniecki minecraftmotdparser
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 04 Oct 2024 14:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Minecraft MOTD Parser's HtmlGenerator vulnerable to XSS
Weaknesses CWE-79
CWE-80
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-10-04T14:20:24.412Z

Updated: 2024-10-04T16:09:22.623Z

Reserved: 2024-09-30T21:28:53.231Z

Link: CVE-2024-47765

cve-icon Vulnrichment

Updated: 2024-10-04T16:09:16.750Z

cve-icon NVD

Status : Analyzed

Published: 2024-10-04T15:15:13.213

Modified: 2024-11-13T14:48:37.050

Link: CVE-2024-47765

cve-icon Redhat

No data.