Security mailing lists by PureSourceCode

CVE-2026-26022

MEDIUM 5.4CVSS 3.1

Gogs: Stored XSS via data URI in issue comments

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.

Published
5 Mar 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-xrcr-gmf5-2r8jGO-2026-4620
Sources
NVDJSONOSV GHSA-xrcr-gmf5-2r8jJSONOSV GO-2026-4620JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 8.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gogs gogs
cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*
< 0.14.2 0.14.2
OSV Go gogs.io/gogs < 0.14.2 0.14.2
OSV Go gogs.io/gogs all versions

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 5 Mar 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Mar 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.