Description
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.
Severity (CVSS)
| Base score | 2.1 |
|---|---|
| Severity | Low |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| forgejo | forgejo | 0 to <15.0.3 |
References
- https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/15.0.3.md (release-notes patch)
- https://github.com/geo-chen/oss/blob/main/forgejo.md (technical-description exploit)
- https://codeberg.org/forgejo/forgejo/pulls/13002 (issue-tracking)
- https://www.vulncheck.com/advisories/forgejo-stored-xss-via-actions-run-full-name-rendering (third-party-advisory)
Generated from the official CVE List on 03 Jul 2026 07:05 UTC.