Security mailing lists by PureSourceCode

CVE-2021-3988

MEDIUM 6.1CVSS 3.1

Cross-site Scripting (XSS) - DOM in janeczku/calibre-web

A Cross-site Scripting (XSS) vulnerability exists in janeczku/calibre-web, specifically in the file edit_books.js. The vulnerability occurs when editing book properties, such as uploading a cover or a format. The affected code directly inserts user input into the DOM without proper sanitization, allowing attackers to execute arbitrary JavaScript code. This can lead to various attacks, including stealing cookies. The issue is present in the code handling the #btn-upload-cover change event.

Published
15 Nov 2024
Last modified
7 Jul 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-r735-9gc6-2hvqPYSEC-2026-1236
Sources
NVDJSONOSV GHSA-r735-9gc6-2hvqJSONOSV PYSEC-2026-1236JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD security@huntr.dev (Secondary) CVSS 3.0 MEDIUM 5.7 CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD janeczku calibre-web
cpe:2.3:a:janeczku:calibre-web:*:*:*:*:*:*:*:*
< 0.6.15 0.6.15
OSV PyPI calibreweb < 0.6.15 0.6.15

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 15 Nov 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Nov 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.