CVE-2024-47817 Unvalidated paragraph widget values can be used for Cross-site Scripting in lara-zeus

Medium 5.3 Published Updated

Attackers can inject malicious scripts via unvalidated paragraph widget values, leading to cross-site scripting attacks against users viewing the dashboard.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-47817?

CVE-2024-47817 is a medium-severity cross-site scripting vulnerability in lara-zeus dynamic-dashboard, published on 7 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Lara-zeus Dynamic Dashboard simple way to manage widgets for your website landing page, and filament dashboard and Lara-zeus artemis is a collection of themes for the lara-zeus ecosystem. If values passed to a paragraph widget are not valid and contain a specific set of characters, applications are vulnerable to XSS attack against a user who opens a page on which a paragraph widget is rendered. Users are advised to upgrade to the appropriate fix versions detailed in the advisory metadata. There are no known workarounds for this vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2024-47817?

4 open source packages ship an affected version, including lara-zeus/dynamic-dashboard and lara-zeus/artemis.

PackageAffectedFixed in
lara-zeus/dynamic-dashboard PackagistFrom 3.0.03.0.2
lara-zeus/dynamic-dashboard PackagistFrom 3.0.03.0.2
lara-zeus/artemis PackagistFrom 1.0.01.0.7
lara-zeus/artemis PackagistFrom 1.0.01.0.7

How do I fix CVE-2024-47817?

Upgrade lara-zeus/dynamic-dashboard to 3.0.2 or later.

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-47817 being exploited?

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

Sources

Also known as GHSA-c6cw-g7fc-4gwc.

Is CVE-2024-47817 in your software?

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

Check your SBOMs for free