MoonShine SQL Injection Vulnerability in Blog Module

Vulnerability

A SQL injection vulnerability has been identified in MoonShine version 3.12.5, specifically within the Blog module. The issue arises in the Data parameter when using the moonshine-tree-resource component, which is vulnerable in versions prior to 2.0.2. This vulnerability allows for the injection of SQL payloads, potentially leading to unauthorized data access or manipulation.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can manipulate database queries. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations depending on the application's database permissions.

Reproduction

To reproduce this vulnerability, upload a category in the Blog module while the moonshine-tree-resource component is active. Intercept the request and inject a SQL payload into the Data parameter. Once the payload is executed, the database version can be extracted and verified.

Added: Aug 19, 2025, 3:20 PM
Updated: Aug 19, 2025, 4:23 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
6.1
remediation
0.0
relevance
0.4
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.