.. / CVE-2024-7008

Exploit for Calibre <= 7.15.0 - Reflected Cross-Site Scripting (XSS) (CVE-2024-7008)

Description:

It is possible to inject arbitrary JavaScript code into the /browse endpoint of the Calibre content server, allowing an attacker to craft a URL that when clicked by a victim, will execute the attacker’s JavaScript code in the context of the victim’s browser. If the Calibre server is running with authentication enabled and the victim is logged in at the time, this can be used to cause the victim to perform actions on the Calibre server on behalf of the attacker.

Nuclei Template

View the template here CVE-2024-7008.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2024/CVE-2024-7008.yaml
Copy

References:

https://nvd.nist.gov/vuln/detail/CVE-2024-7008
https://starlabs.sg/advisories/24/24-7008/