Skip to content

← Actionable
Medium, CVSS 6.9

Minecraft MOTD Parser's HtmlGenerator vulnerable to XSS

CVE-2024-47765GHSA-q898-frwq-f3qp

What to do

Vendor fix available. Upgrade each affected package to the fixed version on its release line (dev-lancer/minecraft-motd-parser 1.0.6), redeploy, then verify what is actually installed.

This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.

Affected packages

Sources

Severity and exploitation
Exploitation
No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
CVSS 4.0
6.9 · 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 · score source
EPSS
  • CVE-2024-47765: 0.39% estimated exploitation activity in the next 30 days; percentile 33.05 (FIRST EPSS, 2026-11-03). This is a model estimate, not proof of exploitation or customer exposure.
Source description

As published by the source; long descriptions are shortened.

Summary The HtmlGenerator class is subject to potential cross-site scripting (XSS) attack through a parsed malformed Minecraft server MOTD. Context Minecraft server owners can set a so-called MOTD (Message of the Day) for their server that appears next to the server icon and below the server name on the multiplayer server list of a player's Minecraft client. The Minecraft server sends the MOTD in the description property of the Status Response packet. The jgniecki/MinecraftMotdParser PHP library is able to parse the value of the description property, which can be either a string or an array of text components. By utilizing the aforementioned HtmlGenerator class, it is also able to transform the value into an HTML string that can be used to visualize the MOTD on a web page. Details 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…

Dates and revisions
Published by the source
Last modified by the source
Source last checked
  1. Revision 1 · created ·

    Published from ghsa record GHSA-q898-frwq-f3qp

Agent brief

Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.

# Patch Next advisory brief: CVE-2024-47765

Advisory: Minecraft MOTD Parser's HtmlGenerator vulnerable to XSS
IDs: CVE-2024-47765, GHSA-q898-frwq-f3qp
Record: https://patchnext.com/advisories/cve-2024-47765 (revision 1, source checked 26 Oct 2026, 14:28 UTC)
Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected.
Severity: Medium (CVSS 6.9)
Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV.
Vendor response: Vendor fix available; fixed versions by package: dev-lancer/minecraft-motd-parser 1.0.6. A vendor fix does not mean a deployment is fixed.

## Affected components
- Packagist dev-lancer/minecraft-motd-parser: affected <= 1.0.5; fixed in 1.0.6

## Suggested inspection (read-only)
- Packagist dev-lancer/minecraft-motd-parser: check the installed version with your package manager.

## Supported action
Upgrade each affected component to a fixed version on its release line. For a transitive dependency, upgrade the parent package or add an override or constraint, then regenerate the lockfile. Redeploy every environment that ran an affected version.

## Required regression checks
- Run the test suite and a production build.
- Exercise the features that depend on dev-lancer/minecraft-motd-parser.
- Repeat the inspection and confirm that only fixed versions remain installed.

## Rollback considerations
- Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward.

## Unresolved questions
- Which deployments run an affected version?
- Exploitation status can change. Check again before lowering the priority.
- Mark the work resolved only after the fixed version is verified in production.

## Sources
- Verified: https://github.com/advisories/GHSA-q898-frwq-f3qp (GitHub-reviewed advisory GHSA-q898-frwq-f3qp lists affected ranges: Packagist dev-lancer/minecraft-motd-parser >=0 <=1.0.5)

Commands are suggestions: review each one before running it.

Loading voting…