CVE-2024-7008 Calibre Reflected Cross-Site Scripting (XSS)

Medium 5.4 Published Updated

Attackers can execute arbitrary scripts in the Calibre desktop application via reflected cross-site scripting due to unsanitized user input.

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
Available

What is CVE-2024-7008?

CVE-2024-7008 is a medium-severity cross-site scripting vulnerability in Calibre, published on 6 Aug 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

Unsanitized user-input in Calibre <= 7.15.0 allow attackers to perform reflected cross-site scripting.

Weakness: CWE-79

Which versions are affected by CVE-2024-7008?

It affects 1 product.

Products include Calibre-Ebook Calibre.

How do I fix CVE-2024-7008?

Apply the vendor's patch.

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

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

Public exploit code: 1 Nuclei template.

Sources

Also known as DEBIAN-CVE-2024-7008, GHSA-5q8g-5hhx-x3c8, UBUNTU-CVE-2024-7008.

Is CVE-2024-7008 in your software?

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

Check your SBOMs for free