Skip to content
XSS Write-up Beginner

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

Calibre version 7.15.0 contains a reflected cross-site scripting vulnerability. An attacker could execute script in a victim's browser if the victim interacts with a crafted link.

starlabs.sg

Published on starlabs.sg

Calibre is a cross-platform free and open-source suite of e-book software. Calibre supports organizing existing e-books into virtual libraries, displaying, editing, creating and converting e-books, as well as syncing e-books with a variety of e-readers.

The author, on starlabs.sg

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application reflects user-supplied input into a web page without proper encoding or sanitisation.

Impact

An attacker could run script in a victim's browser, potentially stealing data or performing actions as the victim, but user interaction is required.

What the attacker needed

Victim clicks a crafted link

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Cross-site scripting (XSS) is when a website shows text from a link without cleaning it, so an attacker can sneak in code that runs in your browser. Here, a crafted link to Calibre could run script in the victim's browser, but the victim must click it.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.