{"cve":"CVE-2026-26022","nvd":{"published":"2026-03-05T19:16:03.497","modified":"2026-06-17T10:25:36.953","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/gogs/gogs/commit/441c64d7bd8893b2f4e48660a8be3a7472e14291","https://github.com/gogs/gogs/pull/8174","https://github.com/gogs/gogs/releases/tag/v0.14.2","https://github.com/gogs/gogs/security/advisories/GHSA-xrcr-gmf5-2r8j"],"products":["gogs:gogs"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-26022","score":0.00354,"percentile":0.29107,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xrcr-gmf5-2r8j","url":"https://osv.dev/vulnerability/GHSA-xrcr-gmf5-2r8j","summary":"Gogs: Stored XSS via data URI in issue comments","modified":"2026-03-23T04:56:09.965812078Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.14.2"],"fixed":["0.14.2"]}]},{"id":"GO-2026-4620","url":"https://osv.dev/vulnerability/GO-2026-4620","summary":"Gogs: Stored XSS via data URI in issue comments in gogs.io/gogs","modified":"2026-03-23T04:53:16.958792Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}