CVE-2024-7008
NixOS vulnerability analysis and mitigation

Overview

Calibre version 7.15.0 and earlier contains a reflected cross-site scripting vulnerability (CVE-2024-7008) that was discovered in July 2024. The vulnerability affects the content server feature of Calibre, specifically in the /browse endpoint. This security flaw allows attackers to perform reflected cross-site scripting attacks through unsanitized user input (STAR Labs Advisory, NVD).

Technical details

The vulnerability exists in the src/calibre/srv/legacy.py file where the browse endpoint fails to properly sanitize user input before incorporating it into the page response. The CVSS v3.1 base score is 6.1 (Medium) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N according to NVD's assessment. The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation) (NVD, STAR Labs Advisory).

Impact

When exploited, this vulnerability allows attackers to execute arbitrary 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, the attacker can potentially cause the victim to perform unauthorized actions on the Calibre server (STAR Labs Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 7.16.0 of Calibre. The fix involves ensuring that user input is properly validated before being used in HTML content generation, specifically by verifying that book IDs contain only digits. Users are advised to upgrade to the latest version (Calibre Commit, STAR Labs Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-65622MEDIUM5.4
  • PHPPHP
  • snipe/snipe-it
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management