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.
{
"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"
}{
"extracted_events": [
{
"range": [
{
"introduced": "<= 0.14.0+dev"
},
{
"last_affected": "<= 0.14.0+dev"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "110117b2e5e5baa4809c819bec701e929d2d8d40"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.13.3",
"range": [
{
"fixed": "5084b4a9b77a506f5e287e82e945e1c6882b827a"
}
],
"source": "REFERENCES_TAG"
}
]
}