CVE-2025-47943
MEDIUM 6.3CVSS 3.1Gogs 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed 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
- https://github.com/gogs/gogs/commit/110117b2e5e5baa4809c819bec701e929d2d8d40 · WEB
- https://github.com/gogs/gogs/releases/tag/v0.13.3 · WEB
- https://github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v · WEB, ADVISORY
- https://www.hacktivesecurity.com/blog/2025/07/15/cve-2025-47943-stored-xss-in-gogs-via-pdf · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-47943 · ADVISORY
- https://github.com/gogs/gogs · PACKAGE
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)