{
  "id": "ghsl-2025-110",
  "title": "GitHub Security Lab AI agent helps find OpenLibrary barcode-scanner XSS",
  "product": "OpenLibrary",
  "ai_system": "GitHub Security Lab AI agent and CodeQL",
  "organization": "GitHub Security Lab",
  "summary": "OpenLibrary barcode scanner accepts a returnTo query value and assigns it to location after ISBN scanning; a JavaScript URL can execute in the user’s browser.",
  "ai_role": "GHSL credits CodeQL and an AI agent developed by GitHub Security Lab. It reports the issue on 2025-09-08 and says it was fixed and deployed 2025-09-10. The public record does not separate the AI agent’s contribution from CodeQL’s.",
  "disclosure_date": "2025-12-04",
  "ai_attribution_date": "2025-12-04",
  "classification": "disclosure",
  "classification_note": "The advisory documents the finding and its disclosure/remediation state. It does not claim exploitation in the wild.",
  "cves": [],
  "source_url": "https://securitylab.github.com/advisories/GHSL-2025-110_openlibrary/",
  "ai_source_url": "https://securitylab.github.com/advisories/GHSL-2025-110_openlibrary/",
  "remediation": "fix documented",
  "remediation_note": "GHSL says the issue was fixed and deployed on 2025-09-10; the advisory does not name a commit or fixed release. No CVE was established.",
  "advisory_url": "https://github.com/internetarchive/openlibrary",
  "checked_date": "2026-11-14",
  "impacts": [
    {
      "cves": [],
      "consequences": [
        "code execution",
        "data disclosure"
      ],
      "conditions": "A user must scan an ISBN in OpenLibrary’s barcode scanner while the attacker supplies a JavaScript URL in the `returnTo` query parameter. The script executes in the user’s browser; the advisory says this may lead to information disclosure or actions on the user’s behalf.",
      "exploitation": "The advisory documents a working XSS path; it does not establish exploitation in the wild.",
      "source_url": "https://securitylab.github.com/advisories/GHSL-2025-110_openlibrary/",
      "checked_date": "2026-11-16"
    }
  ]
}
