{"schema_version":"1.9.0","id":"CVE-2025-47943","published":"2025-06-24T03:48:06.012Z","modified":"2026-08-12T03:51:20.649249098Z","aliases":["GHSA-xh32-cx6c-cp4v","GO-2025-3778"],"related":["openSUSE-SU-2025:15405-1"],"summary":"Gogs stored XSS in PDF renderer","details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gogs/gogs","events":[{"introduced":"36c26c4ccc3ca0339db53eb1fa41e4e86b55163d"},{"fixed":"110117b2e5e5baa4809c819bec701e929d2d8d40"},{"fixed":"5084b4a9b77a506f5e287e82e945e1c6882b827a"}],"database_specific":{"extracted_events":[{"introduced":"<= 0.14.0+dev"},{"last_affected":"<= 0.14.0+dev"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["<= 0.14.0+dev"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47943.json"}}],"references":[{"type":"WEB","url":"https://github.com/gogs/gogs/releases/tag/v0.13.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47943.json"},{"type":"ADVISORY","url":"https://github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47943"},{"type":"FIX","url":"https://github.com/gogs/gogs/commit/110117b2e5e5baa4809c819bec701e929d2d8d40"},{"type":"ARTICLE","url":"https://www.hacktivesecurity.com/blog/2025/07/15/cve-2025-47943-stored-xss-in-gogs-via-pdf"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47943.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N"}]}