Vulnerability from bitnami_vulndb
Published
2026-10-14 08:43
Modified
2026-10-14 09:12
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.


{
  "affected": [
    {
      "package": {
        "ecosystem": "Bitnami",
        "name": "gitea",
        "purl": "pkg:bitnami/gitea"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "28.1.0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "type": "CVSS_V3"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2026-96594"
  ],
  "database_specific": {
    "cpes": [
      "cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*"
    ],
    "severity": "Medium"
  },
  "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\u0027s permissions.",
  "id": "BIT-gitea-2026-96594",
  "modified": "2026-10-14T09:12:20.145Z",
  "published": "2026-10-14T08:43:17.529Z",
  "references": [
    {
      "type": "ARTICLE",
      "url": "https://blog.gitea.com/release-of-28.1.0/"
    },
    {
      "type": "FIX",
      "url": "https://github.com/go-gitea/gitea/pull/39501"
    },
    {
      "type": "FIX",
      "url": "https://github.com/go-gitea/gitea/pull/39507"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/go-gitea/gitea/releases/tag/v28.1.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-94rx-fqm6-q23v"
    },
    {
      "type": "WEB",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-96594"
    }
  ],
  "schema_version": "1.6.2",
  "summary": "Gitea repository media API stored XSS"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…