Skip to content

CVE-2025-47943 Gogs stored XSS in PDF renderer

MediumCVSS 6.3 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
gogs(Go) < 0.13.3-0.20250608224432-110117b2e5e5 0.13.3-0.20250608224432-110117b2e5e5 Fixed
gogs.io/gogs(Go) < 0.13.3-0.20250608224432-110117b2e5e5 0.13.3-0.20250608224432-110117b2e5e5 Fixed
gogs = <= 0.14.0+dev No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
gogs(Go) < 0.13.3-0.20250608224432-110117b2e5e5 0.13.3-0.20250608224432-110117b2e5e5
gogs.io/gogs(Go) < 0.13.3-0.20250608224432-110117b2e5e5 0.13.3-0.20250608224432-110117b2e5e5
gogs = <= 0.14.0+dev No fix listed

References