XSS in Forgejo
CVE-2026-59102
- CVSS v3
- 5.4 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 28.8th percentile
- Published
- 2026-07-02
Forgejo before 15.0.3 contains a stored cross-site scripting vulnerability that allows authenticated attackers to execute arbitrary JavaScript in other users' browsers by setting a full name containing an HTML payload and triggering an Actions run. When the DEFAULT_SHOW_FULL_NAME option is enabled, the run description is assembled server-side with the user's display name interpolated into an HTML string via a translation function that does not escape its arguments, and the frontend renders the result using a Vue v-html binding, causing script execution for any user who views the affected Actions run page.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 28.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Forgejo — versions 0
Weakness classification (CWE)
References
- Fix PR (issue-tracking)
- Release Notes (release-notes, patch)
- Researcher Disclosure (technical-description, exploit)
- www.vulncheck.com/advisories/forgejo-stored-xss-via-actions-run-full-name-rende… (third-party-advisory)