{"id":"PYSEC-2026-1234","summary":"Calibre-Web Has a Stored Cross-Site Scripting (XSS) Vulnerability via the 'username' Field During User Creation","details":"A Stored Cross-Site Scripting (XSS) vulnerability in Calibre-Web v0.6.25 allows attackers to inject malicious JavaScript into the 'username' field during user creation. The payload is stored unsanitized and later executed when the /ajax/listusers endpoint is accessed.","aliases":["CVE-2025-65858","GHSA-pc5g-j9j7-p4q3"],"modified":"2026-07-07T17:47:24.624473475Z","published":"2026-07-07T16:03:11.806566Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-65858"},{"type":"WEB","url":"https://github.com/KhanhDuy155/calibre-web-CVE-2025-65858/blob/main/CVE-2025-65858.md"},{"type":"PACKAGE","url":"https://github.com/janeczku/calibre-web"},{"type":"PACKAGE","url":"https://pypi.org/project/calibreweb"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-pc5g-j9j7-p4q3"}],"affected":[{"package":{"name":"calibreweb","ecosystem":"PyPI","purl":"pkg:pypi/calibreweb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.6.25"}]}],"versions":["0.6.12","0.6.13","0.6.14","0.6.15","0.6.16","0.6.17","0.6.18","0.6.19","0.6.20","0.6.21","0.6.22","0.6.23","0.6.24","0.6.25"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/calibreweb/PYSEC-2026-1234.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P"}]}