{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-4170","id":"CVE-2021-4170","title":"Cross-site Scripting (XSS) - Stored in janeczku/calibre-web","description":"calibre-web is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","descriptionLong":"calibre-web is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","published":"2022-01-16T20:55:10.000Z","updated":"2026-10-20T10:54:02.119712886Z","reserved":"2021-12-25T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"@huntrdev","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"@huntrdev"},{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"huntr.dev"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["janeczku/calibre-web"],"affectedProducts":[{"vendor":"janeczku","product":"janeczku/calibre-web","defaultStatus":null,"versions":[{"lessThan":"0.6.15","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"calibreweb","purl":"pkg:pypi/calibreweb","ranges":["<0.6.15"],"fixed":["0.6.15"],"advisory":"GHSA-wrp6-9w7f-3wxg"}],"cwes":["CWE-79"],"aliases":["GHSA-wrp6-9w7f-3wxg","PYSEC-2026-620"],"references":[{"url":"https://huntr.dev/bounties/ff395101-e392-401d-ab4f-579c63fbf6a0","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/janeczku/calibre-web/commit/7ad419dc8c12180e842a82118f4866ac3d074bc5","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4170","tags":["advisory"]},{"url":"https://github.com/janeczku/calibre-web","tags":["web"]},{"url":"https://pypi.org/project/calibreweb","tags":["package"]},{"url":"https://github.com/advisories/GHSA-wrp6-9w7f-3wxg","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00836,"epssPercentile":0.58483,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-4170","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4170","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-4170","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wrp6-9w7f-3wxg","ok":true,"note":"GHSA-wrp6-9w7f-3wxg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-4170","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}