{"id":"CVE-2025-46338","published":"2025-04-29T04:34:44Z","modified":"2025-04-29T13:37:57Z","title":"Audiobookshelf Vulnerable to Cross-Site-Scripting Reflected via POST Request in /api/upload","vendor":"advplyr","product":"audiobookshelf","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0037,"percentile":0.31697,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-47g3-c5hx-2q3w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/advplyr/audiobookshelf/commit/35870a01583b2947030f4e3d4ac769c3ff298386","tags":["x_refsource_MISC"]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":6.34},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"advplyr","affectedVersions":[{"vendor":"advplyr","product":"audiobookshelf","versions":["< 2.21.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-29T13:35:58.102544Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-12610","exploited":false,"provenance":"source"}}