CVE-2025-47943

Source
https://cve.org/CVERecord?id=CVE-2025-47943
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47943.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-47943
Aliases
Downstream
Related
Published
2025-06-24T03:48:06.012Z
Modified
2026-07-15T01:48:59.722888472Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N CVSS Calculator
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47943.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/gogs/gogs

Affected ranges

Type
GIT
Repo
https://github.com/gogs/gogs
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "<= 0.14.0+dev"
        },
        {
            "last_affected": "<= 0.14.0+dev"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

<= 0.*
<= 0.14.0+dev

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47943.json"