Audiobookshelf: Stored Cross-Site Scripting in Login Page Custom Message
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-42887
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 02:47 UTC · Revision 1
Source evidence
Audiobookshelf: Stored Cross-Site Scripting in Login Page Custom Message
core-osv · Original sourcePublished 11 May 2026, 19:55 UTC
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.
osv:CVE-2026-42887
Complete source record
{
"id": "1b024be80087a3a5781f9f02684142749fa04a14fdf19f2845635ee06d702f5f",
"url": "https://osv.dev/vulnerability/CVE-2026-42887",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Audiobookshelf: Stored Cross-Site Scripting in Login Page Custom Message",
"summary": "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.",
"evidence": "osv:CVE-2026-42887",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-42887",
"aliases": [
"CVE-2026-42887",
"GHSA-cx29-ghq2-9cm4"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/advplyr/audiobookshelf",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "6d3773a0b83b61b07bb29632c8deda404f865d3a"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.33.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.33.0"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v2.32.1",
"v2.32.0",
"v2.31.0",
"v2.30.0",
"v2.29.0",
"v2.28.0",
"v2.27.0",
"v2.26.3",
"v2.26.2",
"v2.26.1",
"v2.26.0",
"v2.25.1",
"v2.25.0",
"v2.24.0",
"v2.23.0",
"v2.22.0",
"v2.21.0",
"v2.20.0",
"v2.19.5",
"v2.19.4",
"v2.19.3",
"v2.19.2",
"v2.19.1",
"v2.19.0",
"v2.18.1",
"v2.18.0",
"v2.17.7",
"v2.17.6",
"v2.17.5",
"v2.17.4",
"v2.17.3",
"v2.17.2",
"v2.17.1",
"v2.17.0",
"v2.16.1",
"v2.16.2",
"v2.16.0",
"v2.15.1",
"v2.15.0",
"v2.14.0",
"v2.13.4",
"v2.13.3",
"v2.13.2",
"v2.13.1",
"v2.13.0",
"v2.12.3",
"v2.12.2",
"v2.12.1",
"v2.12.0",
"v2.11.0",
"v2.10.1",
"v2.10.0",
"v2.9.0",
"v2.8.1",
"v2.8.0",
"v2.7.2",
"v2.7.1",
"v2.7.0",
"v2.6.0",
"v2.5.0",
"v2.4.4",
"v2.4.3",
"v2.4.2",
"v2.4.1",
"v2.4.0",
"v2.3.5",
"v2.3.4",
"v2.3.3",
"v2.3.2",
"v2.3.1",
"v2.3.0",
"v2.2.23",
"v2.2.22",
"v2.2.21",
"v2.2.20",
"v2.2.19",
"v2.2.18",
"v2.2.17",
"v2.2.15",
"v2.2.16",
"v2.2.14",
"v2.2.13",
"v2.2.12",
"v2.2.11",
"v2.2.10",
"v2.2.9",
"v2.2.8",
"v2.2.7",
"v2.2.6",
"v2.2.5",
"v2.2.4",
"v2.2.3",
"v2.2.2",
"v2.2.1",
"v2.2.0",
"v2.1.5",
"v2.1.4",
"v2.1.3",
"v2.1.2",
"v2.1.1",
"v2.1.0",
"v2.0.24",
"v2.0.23",
"v2.0.22",
"v2.0.21",
"v2.0.20",
"v2.0.19",
"v2.0.18",
"v2.0.17",
"v2.0.16",
"v2.0.15",
"v2.0.14",
"v2.0.13",
"v2.0.12",
"v2.0.11",
"v2.0.10",
"v2.0.9",
"v2.0.8",
"v2.0.7",
"v2.0.6",
"v2.0.5",
"v2.0.4",
"v2.0.3",
"v2.0.2",
"v2.0.1",
"v1.7.2",
"v1.7.1",
"v1.7.0",
"v1.6.0",
"v1.5.5",
"v1.5.0",
"v1.4.11",
"v1.4.9",
"v1.4.7",
"v1.4.6",
"v1.4.4",
"v1.4.2",
"v1.4.1",
"v1.4.0",
"v1.3.4",
"v1.3.3",
"v1.3.1",
"v1.2.8",
"v1.2.6",
"v1.2.5",
"v1.2.4",
"v1.2.1",
"v1.1.15",
"v1.1.14",
"v1.1.13",
"v1.1.12",
"v1.1.11",
"v1.1.10",
"v1.1.9",
"v1.1.8",
"v1.0.0",
"0.9.61-beta.0",
"0.9.61-beta"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42887.json"
}
}
],
"modified": "2026-10-28T02:30:49.060419363Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42887.json",
"https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-cx29-ghq2-9cm4",
"https://nvd.nist.gov/vuln/detail/CVE-2026-42887"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42887.json"
}
},
"related_cves": [
{
"value": "CVE-2026-42887",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517485,
"published_at": "2026-05-11T19:55:32.09+00:00"
}