XSS in Forgejo
CVE-2026-59102
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.
EPSS exploit prediction
EPSS: 0.003 (26.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 26th percentile — 26.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Forgejo — versions 0
Weakness classification (CWE)
References
- codeberg.org/forgejo/forgejo/pulls/13002 (issue-tracking)
- codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/15.0.3… (release-notes, patch)
- github.com/geo-chen/oss/blob/main/forgejo.md (technical-description, exploit)
- www.vulncheck.com/advisories/forgejo-stored-xss-via-actions-run-full-name-rende… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-59102?
- CVE-2026-59102 is a medium-severity vulnerability in Forgejo, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2026-07-02.
- How severe is CVE-2026-59102?
- Medium severity. CVSS v3 base score is 5.4 out of 10.