CVE-2024-54775: Dcat-Admin Cross-Site Scripting (XSS) Vulnerability

dcat/laravel-admin Updated 02 Oct 2025

Summary

28/12/2024
No i
Moderate
4.8

CVE-2024-54775: Dcat-Admin Cross-Site Scripting (XSS) vulnerability. Affects dcat/laravel-admin versions 2.2.0-beta. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Dcat-Admin is a powerful administrative interface for Laravel applications, designed to simplify the management of backend functionalities. It offers features such as user authentication, role management, and customizable dashboards. However, versions 2.2.0-beta and 2.2.2-beta are susceptible to a Cross-Site Scripting (XSS) vulnerability, which can be exploited through specific admin routes.

Vulnerability Detail

The vulnerability arises from improper input validation in the Dcat-Admin package, specifically in the '/admin/auth/menu' and '/admin/auth/extensions' routes. This flaw allows an attacker to inject malicious scripts into web pages viewed by other users, potentially leading to session hijacking, data theft, or other malicious actions. The vulnerability is classified under CWE-79, indicating its nature as a Cross-Site Scripting issue.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can restrict access to the vulnerable routes by modifying your application's routing configuration to prevent unauthorized users from accessing '/admin/auth/menu' and '/admin/auth/extensions'. This can be done by implementing proper authentication checks in your routes.

Conclusion

The Dcat-Admin Cross-Site Scripting vulnerability (CVE-2024-54775) poses a moderate risk to applications using versions 2.2.0-beta and 2.2.2-beta. It is crucial to update to a patched version to mitigate potential security risks. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for dcat/laravel-admin →

Share this vulnerability

FAQ

XSS is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users, potentially compromising user data and session information.

You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software. By checking your composer.lock file, you can determine if your application is affected. Visit the Vulert playground at Vulert Scanner for a quick check without signup.

If exploited, this XSS vulnerability can lead to unauthorized access to user sessions, data theft, and the execution of malicious scripts in the context of the affected user's browser.

Yes, updating to a non-vulnerable version of the Dcat-Admin package will resolve the issue. Ensure you run 'composer update dcat/laravel-admin' to get the latest version.

If immediate updates are not possible, implement access restrictions to the affected routes as a temporary workaround until you can apply the necessary updates.

Related vulnerabilities

Recent vulnerabilities recorded for dcat/laravel-admin.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback