{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-46338","published":"2025-04-29T05:15:46.983000Z","last_modified":"2026-06-17T09:26:15.727000Z","status":"Analyzed","cvss":{"version":"4.0","score":6.9,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:audiobookshelf:audiobookshelf:*:*:*:*:*:*:*:*","part":"a","vendor":"audiobookshelf","product":"audiobookshelf","version_end_excluding":"2.21.0"}],"cpes_truncated":false,"vendors":["audiobookshelf"],"products":["audiobookshelf/audiobookshelf"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":56,"links":{"html_es":"/es/cve/CVE-2025-46338/","html_en":"/en/cve/CVE-2025-46338/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-46338","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-46338"},"untrusted":{"vendor_name":"Audiobookshelf","product_name":"Audiobookshelf","desc_en":"Audiobookshelf is a self-hosted audiobook and podcast server. Prior to version 2.21.0, an improper input handling vulnerability in the `/api/upload` endpoint allows an attacker to perform a reflected cross-site scripting (XSS) attack by submitting malicious payloads in the `libraryId` field. The unsanitized input is reflected in the server’s error message, enabling arbitrary JavaScript execution in a victim's browser. This issue has been patched in version 2.21.0.","affected":[{"untrusted_vendor":"advplyr","untrusted_product":"audiobookshelf","versions":[]}],"references":[{"url":"https://github.com/advplyr/audiobookshelf/commit/35870a01583b2947030f4e3d4ac769c3ff298386","tags":["Patch"]},{"url":"https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-47g3-c5hx-2q3w","tags":["Exploit","Vendor Advisory"]}]}}