SQL Injection Affecting lee-to/moonshine-tree-resource package, versions <2.0.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.03% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-LEETOMOONSHINETREERESOURCE-12177865
  • published28 Aug 2025
  • disclosed19 Aug 2025
  • creditGiacoLenzo2109

Introduced: 19 Aug 2025

NewCVE-2025-51510  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade lee-to/moonshine-tree-resource to version 2.0.2 or higher.

Overview

lee-to/moonshine-tree-resource is a Tree resource for moonshine

Affected versions of this package are vulnerable to SQL Injection via the data parameter in the Route::moonshine function. An attacker can exploit this to read sensitive data from the database.

References

CVSS Base Scores

version 4.0
version 3.1