CVE-2021-4170
MEDIUM 5.4CVSS 3.1calibre-web is vulnerable to Cross-site Scripting
calibre-web is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- Published
- 16 Jan 2022
- Last modified
- 6 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-wrp6-9w7f-3wxgPYSEC-2026-620
- Sources
- NVDJSONOSV GHSA-wrp6-9w7f-3wxgJSONOSV PYSEC-2026-620JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | janeczku | calibre-webcpe:2.3:a:janeczku:calibre-web:*:*:*:*:*:*:*:* |
< 0.6.15 | 0.6.15 |
| OSV | PyPI | calibreweb | < 0.6.15 | 0.6.15 |
References
- https://github.com/janeczku/calibre-web/commit/7ad419dc8c12180e842a82118f4866ac3d074bc5 · Patch, Third Party Advisory, WEB
- https://huntr.dev/bounties/ff395101-e392-401d-ab4f-579c63fbf6a0 · Exploit, 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
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 16 Jan 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Jan 2022)