Skip to content

Calibre-Web Cross Site Scripting (XSS)

Moderate severity GitHub Reviewed Published Jul 19, 2024 to the GitHub Advisory Database • Updated Jul 19, 2024

Package

pip calibreweb (pip)

Affected versions

>= 0.6.0, <= 0.6.21

Patched versions

None

Description

In janeczku Calibre-Web 0.6.0 to 0.6.21, the edit_book_comments function is vulnerable to Cross Site Scripting (XSS) due to improper sanitization performed by the clean_string function. The vulnerability arises from the way the clean_string function handles HTML sanitization.

References

Published by the National Vulnerability Database Jul 19, 2024
Published to the GitHub Advisory Database Jul 19, 2024
Reviewed Jul 19, 2024
Last updated Jul 19, 2024

Severity

Moderate
5.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2024-39123

GHSA ID

GHSA-j22r-3rf3-cv25

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.