CVE-2025-47943 MEDIUM

CVE-2025-47943: Gogs stored XSS in PDF renderer

Vendor Gogs
Product gogs
Weakness CWE-79 · XSS
Published June 24, 2025
Last update July 30, 2025

CVSS base score

6.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality High
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 24, 2025 CVE published
July 30, 2025 Record updated