{"schema":"threatline.record/2","record":{"id":"CVE-2026-96594","aliases":["GHSA-94rx-fqm6-q23v"],"summary":"Gitea repository media API stored XSS","details":"The Gitea API endpoint `GET /api/v1/repos/{owner}/{repo}/media/{filepath}` wrote files of up to 1 KiB that are stored directly in Git, not in LFS, to the response without the content type and disposition headers Gitea uses for user content. An HTML file committed to a repository was therefore rendered by the browser on the Gitea origin. A user who can push to a repository could run JavaScript in the session of a victim who opens the media URL and act with the victim's permissions.","categories":["Unclassified"],"product":"Gitea","vendor":"Gitea","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-96594","source_modified_at":"2026-10-07T15:04:26.695Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"Gitea","vendor":"Gitea","versions":[{"version":"0","status":"affected","lessThanOrEqual":"28.0.0","versionType":"semver"}],"defaultStatus":"unaffected"}],"fixed_versions":[],"cvss":6.1,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00223,"percentile":0.12203,"score_date":"2026-10-23"},"published_at":"2026-10-06T21:36:38.491Z","modified_at":"2026-10-07T15:04:26.695Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-96594","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-07T15:04:26.695Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-96594","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-94rx-fqm6-q23v","tags":["vendor-advisory"]},{"source":"CVE List","url":"https://github.com/go-gitea/gitea/pull/39501","tags":["patch"]},{"source":"CVE List","url":"https://github.com/go-gitea/gitea/pull/39507","tags":["patch"]},{"source":"CVE List","url":"https://blog.gitea.com/release-of-28.1.0/","tags":["release-notes"]},{"source":"CVE List","url":"https://github.com/go-gitea/gitea/releases/tag/v28.1.0","tags":["release-notes"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CISA ADP","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-07T15:04:06.630412Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-07T15:04:26.695Z","content_hash":"6a131f8fe8deeb7ff8aa9d1b61853cc3f5bd3528c2f110a35644cab061cd8684"}}
