← Back to CVEs
CVE-2025-47943
MEDIUM6.3
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.
CVE Details
CVSS v3.1 Score6.3
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionREQUIRED
Published6/24/2025
Last Modified7/30/2025
Sourcenvd
Honeypot Sightings0
Weaknesses (CWE)
CWE-79
References
https://github.com/gogs/gogs/commit/110117b2e5e5baa4809c819bec701e929d2d8d40(security-advisories@github.com)
https://github.com/gogs/gogs/releases/tag/v0.13.3(security-advisories@github.com)
https://github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v(security-advisories@github.com)
https://www.hacktivesecurity.com/blog/2025/07/15/cve-2025-47943-stored-xss-in-gogs-via-pdf(security-advisories@github.com)
https://github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v(134c704f-9b21-4f2e-91b3-4a467353bcc0)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.