Vulnerability DatabaseGHSA-wjfq-88q2-r34j

GHSA-wjfq-88q2-r34j
PHP vulnerability analysis and mitigation

Overview

A high severity vulnerability (CVSS 7.5) was discovered in PocketMine-MP versions 4.0.0 through 4.0.6, identified as GHSA-wjfq-88q2-r34j. The vulnerability was published on January 21, 2022, and affects the composer package pocketmine/pocketmine-mp. The issue was patched in version 4.0.7 (GitHub Advisory).

Technical details

The vulnerability occurs when handling form responses from the Minecraft Windows client (ModalFormResponsePacket). The client may send malformed JSON that jsondecode() cannot process. While a workaround is implemented in InGamePacketHandler::stupidjson_decode(), the function throws an InvalidArgumentException when it fails to fix errors in the JSON, which is not caught by the caller. The vulnerability has a CVSS v3.1 score of 7.5 (High) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (GitHub Advisory).

Impact

When exploited, this vulnerability leads to a server crash due to the uncaught exception, affecting the availability of the service. The CVSS metrics indicate high impact on availability while confidentiality and integrity remain unaffected (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in version 4.0.7 with commit 56fe71d. As a workaround for affected versions, plugins can handle DataPacketReceiveEvent, capture ModalFormResponsePacket and process the JSON through stupidjsondecode, though this requires copying the function's body to a plugin as it's currently private (GitHub Advisory, PocketMine Commit).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management