CVE-2024-6229 Stored XSS in stangirard/quivr

Medium 6.8 Published Updated

Attackers can inject malicious scripts via URL uploads in Quivr, leading to data theft and session hijacking for other users.

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

What is CVE-2024-6229?

CVE-2024-6229 is a medium-severity cross-site scripting vulnerability in stangirard/quivr, published on 7 Jul 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A stored cross-site scripting (XSS) vulnerability exists in the 'Upload Knowledge' feature of stangirard/quivr, affecting the latest version. Users can upload files via URL, which allows the insertion of malicious JavaScript payloads. These payloads are stored on the server and executed whenever any user clicks on a link containing the payload, leading to potential data theft, session hijacking, and reputation damage.

Weakness: CWE-79

Which versions are affected by CVE-2024-6229?

It affects 1 product.

Products include Quivr Quivr.

How do I fix CVE-2024-6229?

No fix has been published for CVE-2024-6229 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-6229 being exploited?

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

Sources

Also known as GHSA-2xp5-vm5f-w77m.

Is CVE-2024-6229 in your software?

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

Check your SBOMs for free