{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-47943","id":"CVE-2025-47943","title":"Gogs stored XSS in PDF renderer","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.","descriptionLong":"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":"2025-06-24T03:48:06.012Z","updated":"2026-10-28T02:30:36.557276406Z","reserved":"2025-05-14T10:32:43.530Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["gogs"],"affectedProducts":[{"vendor":"gogs","product":"gogs","defaultStatus":null,"versions":[{"version":"<= 0.14.0+dev","status":"affected"}],"platforms":[]}],"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"],"advisory":"GHSA-xh32-cx6c-cp4v"},{"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"],"advisory":"GHSA-xh32-cx6c-cp4v"}],"cwes":["CWE-79"],"aliases":["GHSA-xh32-cx6c-cp4v","GO-2025-3778"],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/gogs/gogs/commit/110117b2e5e5baa4809c819bec701e929d2d8d40","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/gogs/gogs/releases/tag/v0.13.3","tags":["x_refsource_MISC","web"]},{"url":"https://www.hacktivesecurity.com/blog/2025/07/15/cve-2025-47943-stored-xss-in-gogs-via-pdf","tags":["x_refsource_MISC","article","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47943.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47943","tags":["advisory"]},{"url":"https://github.com/gogs/gogs","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00395,"epssPercentile":0.3445,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-47943","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47943","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-47943","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xh32-cx6c-cp4v","ok":true,"note":"GHSA-xh32-cx6c-cp4v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-47943","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}