{"cve":"CVE-2025-47943","nvd":{"published":"2025-06-24T04:15:46.743","modified":"2026-06-17T09:28:52.577","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","score":6.3},"cwes":["CWE-79"],"references":["https://github.com/gogs/gogs/commit/110117b2e5e5baa4809c819bec701e929d2d8d40","https://github.com/gogs/gogs/releases/tag/v0.13.3","https://github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v","https://www.hacktivesecurity.com/blog/2025/07/15/cve-2025-47943-stored-xss-in-gogs-via-pdf","https://github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:03:23.287444849+00:00"},"epss":{"cve":"CVE-2025-47943","score":0.00395,"percentile":0.33724,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-xh32-cx6c-cp4v","url":"https://osv.dev/vulnerability/GHSA-xh32-cx6c-cp4v","summary":"Gogs XSS allowed by stored call in PDF renderer","modified":"2026-09-10T03:50:25.589578334Z","packages":[{"ecosystem":"Go","name":"github.com/gogs/gogs","purl":"pkg:golang/github.com/gogs/gogs","ranges":["<0.13.3-0.20250608224432-110117b2e5e5"],"fixed":["0.13.3-0.20250608224432-110117b2e5e5"]},{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.13.3-0.20250608224432-110117b2e5e5"],"fixed":["0.13.3-0.20250608224432-110117b2e5e5"]}]},{"id":"GO-2025-3778","url":"https://osv.dev/vulnerability/GO-2025-3778","summary":"Gogs XSS allowed by stored call in PDF renderer in gogs.io/gogs","modified":"2026-03-03T04:56:42.129395Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.13.3-0.20250608224432-110117b2e5e5"],"fixed":["0.13.3-0.20250608224432-110117b2e5e5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}