Security mailing lists by PureSourceCode

CVE-2025-47943

MEDIUM 6.3CVSS 3.1

Gogs XSS allowed by stored call in PDF renderer

Gogs is an open source self-hosted Git service. In application version 0.14.0+dev and prior, there is a stored cross-site scripting (XSS) vulnerability present in Gogs, which allows client-side Javascript code execution. The vulnerability is caused by the usage of a vulnerable and outdated component: pdfjs-1.4.20 under public/plugins/. This issue has been fixed for gogs.io/gogs in version 0.13.3.

Published
24 Jun 2025
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-79
Also known as
GHSA-xh32-cx6c-cp4vGO-2025-3778
Sources
NVDJSONOSV GHSA-xh32-cx6c-cp4vJSONOSV GO-2025-3778JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/gogs/gogs < 0.13.3-0.20250608224432-110117b2e5e5 0.13.3-0.20250608224432-110117b2e5e5
OSV Go gogs.io/gogs < 0.13.3-0.20250608224432-110117b2e5e5 0.13.3-0.20250608224432-110117b2e5e5

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 24 Jun 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jul 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Jun 2025)
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.