Home

Description

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 Reserved 2025-05-14 | Published 2025-06-24 | Updated 2025-07-30 | Assigner GitHub_M




MEDIUM: 6.3CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

<= 0.14.0+dev
affected

References

github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v exploit

github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v

github.com/...ommit/110117b2e5e5baa4809c819bec701e929d2d8d40

github.com/gogs/gogs/releases/tag/v0.13.3

www.hacktivesecurity.com/...47943-stored-xss-in-gogs-via-pdf

cve.org (CVE-2025-47943)

nvd.nist.gov (CVE-2025-47943)

Download JSON