{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.33.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6d3773a0b83b61b07bb29632c8deda404f865d3a"
            }
          ],
          "repo": "https://github.com/advplyr/audiobookshelf",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cx29-ghq2-9cm4"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42887.json"
  },
  "details": "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.",
  "id": "CVE-2026-42887",
  "modified": "2026-08-12T03:51:08.988236361Z",
  "published": "2026-05-11T19:55:32.090Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42887.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-cx29-ghq2-9cm4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42887"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Audiobookshelf: Stored Cross-Site Scripting in Login Page Custom Message"
}