{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "4.48.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "95f7f268c2e4ea8372882e181a0334fb4dba5f6e"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "4b2a78174aa36bb47ece5391c6b7caf5c8432ce0"
            },
            {
              "fixed": "95f7f268c2e4ea8372882e181a0334fb4dba5f6e"
            }
          ],
          "repo": "https://github.com/gitbucket/gitbucket",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144685.json"
  },
  "details": "GitBucket through 4.48.0 contains a stored cross-site scripting vulnerability that allows authenticated users to execute JavaScript by uploading XHTML or XML attachments served inline. Attackers can attach an XHTML file to an issue or comment, served via the _attached route as application/xhtml+xml, to run script in a victim's session and perform API actions as that user, including administrators.",
  "id": "CVE-2026-144685",
  "modified": "2026-12-04T02:45:53.456155290Z",
  "published": "2026-12-04T01:37:12.435Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144685.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/gitbucket/gitbucket"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/gitbucket/gitbucket/blob/4.48.0/src/main/scala/gitbucket/core/controller/IssuesController.scala#L483-L492"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/gitbucket/gitbucket/blob/4.48.0/src/main/scala/gitbucket/core/util/FileUtil.scala#L27-L36"
    },
    {
      "type": "FIX",
      "url": "https://github.com/gitbucket/gitbucket/commit/95f7f268c2e4ea8372882e181a0334fb4dba5f6e"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-144685"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/gitbucket-through-4.48.0-stored-xss-via-xhtml-and-xml-attachments"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "GitBucket through 4.48.0 Stored XSS via XHTML and XML Attachments"
}