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

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-24 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-47943 is rated Moderate Risk (42.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.25%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-47943

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-20 0.05% 0.25% +0.20%
2 2026-02-27 0.02% 0.05% +0.03%
3 2025-11-21 0.02%

Full EPSS history (5 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-47943

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.1 4.2 [email protected]

Weakness enumeration for CVE-2025-47943

GitHub Security Advisory for CVE-2025-47943

GHSA-xh32-cx6c-cp4v · Severity: medium · Ecosystem: go — Gogs XSS allowed by stored call in PDF renderer

OS Trackers for CVE-2025-47943

vendor priority summary link
alpine CVE-2025-47943: 1 source package rows (gogs); 4 state rows across 1 repos (edge-community); fixed 0, open 4. https://security.alpinelinux.org/vuln/CVE-2025-47943

Affected software / configurations for CVE-2025-47943

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2025-47943

cvelogic Threat Intelligence