CVE-2024-32484 Cross-site scripting in Anki

High 7.4 Published Updated

Attackers can execute JavaScript and read arbitrary files by sharing malicious flashcards in Anki, requiring user interaction to trigger the reflected XSS.

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

What is CVE-2024-32484?

CVE-2024-32484 is a high-severity cross-site scripting vulnerability in Ankitects Anki, published on 22 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An reflected XSS vulnerability exists in the handling of invalid paths in the Flask server in Ankitects Anki 24.04. A specially crafted flashcard can lead to JavaScript code execution and result in an arbitrary file read. An attacker can share a malicious flashcard to trigger this vulnerability.

Weakness: CWE-79, CWE-80

Which versions are affected by CVE-2024-32484?

It affects 1 product.

Products include Ankitects Anki.

How do I fix CVE-2024-32484?

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

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

Sources

Also known as DEBIAN-CVE-2024-32484, GHSA-r6f4-5657-3fp7, UBUNTU-CVE-2024-32484.

Is CVE-2024-32484 in your software?

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

Check your SBOMs for free