CVE-2024-54774 Dcat Admin Cross-site Scripting (XSS) vulnerability

Medium 4.8 Published Updated

Cross-site scripting in Dcat Admin allows attackers to inject malicious scripts into the article creation page, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-54774?

CVE-2024-54774 is a medium-severity cross-site scripting vulnerability in n/a, published on 27 Dec 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Dcat Admin v2.2.0-beta contains a cross-site scripting (XSS) vulnerability in /admin/articles/create.

Weakness: CWE-79

Which versions are affected by CVE-2024-54774?

2 open source packages ship an affected version, including dcat/laravel-admin. It affects 1 product.

PackageAffectedFixed in
dcat/laravel-admin PackagistAll versionsNone
dcat/laravel-admin PackagistAll versionsNone

Products include Dcatadmin Dcat Admin.

How do I fix CVE-2024-54774?

No fix has been published for CVE-2024-54774 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-54774 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-54774 exists.

Sources

Also known as GHSA-9q34-7hfr-h8jm.

Is CVE-2024-54774 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free