# CVE-2021-4170: Cross-site Scripting (XSS) - Stored in janeczku/calibre-web

- Severity: High 7.3 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.84%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-16T20:55:10.000Z
- Modified: 2026-07-06T08:11:13.446Z
- Also known as: GHSA-wrp6-9w7f-3wxg, PYSEC-2026-620
- Weaknesses: CWE-79
- Assigned by: @huntrdev

## Description

calibre-web is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

(As written by CVE List.)

## Affected

- janeczku janeczku/calibre-web: from unspecified before 0.6.15
- calibreweb (PyPI): before 0.6.15
- janeczku calibre-web: before 0.6.15

## Every score

- @huntrdev: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- PyPA Advisory Database: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://huntr.dev/bounties/ff395101-e392-401d-ab4f-579c63fbf6a0> (exploit, third-party-advisory, web)
- <https://github.com/janeczku/calibre-web/commit/7ad419dc8c12180e842a82118f4866ac3d074bc5> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-4170> (advisory)
- <https://github.com/janeczku/calibre-web> (web)
- <https://pypi.org/project/calibreweb> (package)
- <https://github.com/advisories/GHSA-wrp6-9w7f-3wxg> (advisory)

## Sources

- CVE List: [CVE-2021-4170](https://www.cve.org/CVERecord?id=CVE-2021-4170), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-wrp6-9w7f-3wxg](https://github.com/advisories/GHSA-wrp6-9w7f-3wxg), CC-BY-4.0, modified 2026-07-06
- NVD: [CVE-2021-4170](https://nvd.nist.gov/vuln/detail/CVE-2021-4170), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-620](https://osv.dev/vulnerability/PYSEC-2026-620), CC-BY-4.0, modified 2026-07-06

---

Page: https://cve.day/CVE-2021-4170 · Whole record: https://cve.day/CVE-2021-4170.json · Rebuilt by cve.day 2026-11-25T22:58:06.561Z
