# CVE-2026-42887: Audiobookshelf: Stored Cross-Site Scripting in Login Page Custom Message

- Severity: Medium 4.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-11T19:55:32.090Z
- Modified: 2026-10-26T18:10:00.173Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Audiobookshelf is a self-hosted audiobook and podcast server. Prior to 2.33.0, a stored cross-site scripting (XSS) vulnerability exists in the Login Page due to improper sanitization of the authLoginCustomMessage field of the /api/auth-settings endpoint. An attacker with administrative privileges can inject arbitrary HTML/JavaScript that will be rendered on the login page for all users. This vulnerability is fixed in 2.33.0.

(As written by CVE List.)

## Affected

- advplyr audiobookshelf: < 2.33.0

## References

- <https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-cx29-ghq2-9cm4> (exploit)

## Sources

- CVE List: [CVE-2026-42887](https://www.cve.org/CVERecord?id=CVE-2026-42887), CVE Terms of Use, modified 2026-05-12
- NVD: [CVE-2026-42887](https://nvd.nist.gov/vuln/detail/CVE-2026-42887), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42887 · Whole record: https://cve.day/CVE-2026-42887.json · Rebuilt by cve.day 2026-11-25T22:59:21.256Z
