CVE-2025-47943Cross-site Scripting (XSS)
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 6.3 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityLow
AvailabilityNone
Affected & Patched Versions
Not provided by NVD for this CVE.
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run the affected product and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
Timeline
- Jun 24, 2025Published
- Jul 30, 2025Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get alerts for CVEs like this oneYou are reading CVE-2025-47943. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/gogs/gogs/commit/110117b2e5e5baa4809c819bec701e929d2d8d40
- Referencehttps://github.com/gogs/gogs/releases/tag/v0.13.3
- Vendor Advisoryhttps://github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v
- Referencehttps://www.hacktivesecurity.com/blog/2025/07/15/cve-2025-47943-stored-xss-in-gogs-via-pdf
- Vendor Advisoryhttps://github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v
Data last checked: Nov 22, 2026 19:07 UTC