{
  "id": "CVE-2026-26022",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-26022",
  "published_at": "2026-03-05T18:34:12.843Z",
  "title": "Gogs: Stored XSS via data URI in issue comments",
  "vendor": "gogs",
  "product": "gogs",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Gogs is an open source self-hosted Git service. Prior to version 0.14.2, a stored cross-site scripting (XSS) vulnerability exists in the comment and issue description functionality. The application's HTML sanitizer explicitly allows data: URI schemes, enabling authenticated users to inject arbitrary JavaScript execution via malicious links. This issue has been patched in version 0.14.2.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7,
    "nvd": 5.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "gogs",
        "product": "gogs",
        "ranges": [
          "\u003c 0.14.2"
        ],
        "fixed_in": [
          "0.14.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade gogs to 0.14.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/gogs/gogs/security/advisories/GHSA-xrcr-gmf5-2r8j"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/gogs/gogs/pull/8174"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/gogs/gogs/commit/441c64d7bd8893b2f4e48660a8be3a7472e14291"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/gogs/gogs/releases/tag/v0.14.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
