Improper Use of Validation Framework Affecting lomkit/laravel-rest-api package, versions <2.13.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (28th 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 IDSNYK-PHP-LOMKITLARAVELRESTAPI-10494109
  • published23 Jun 2025
  • disclosed27 May 2025
  • creditUnknown

Introduced: 27 May 2025

CVE-2025-48490  (opens in a new tab)
CWE-1173  (opens in a new tab)

How to fix?

Upgrade lomkit/laravel-rest-api to version 2.13.0 or higher.

Overview

lomkit/laravel-rest-api is an A package to build quick and robust rest api for the Laravel framework.

Affected versions of this package are vulnerable to Improper Use of Validation Framework due to the way validation rules are merged across different contexts such as index, store, and update actions. An attacker can inject unexpected or dangerous parameters into the application by crafting requests that bypass expected validation rules.

CVSS Base Scores

version 4.0
version 3.1