CVE-2026-59102
JSON

2.1low

Forgejo < 15.0.3 - Stored XSS via Actions Run Full Name Rendering

Severity
2.1low CVSS:4.0 by VulnCheck
Exploit likelihood
0.35% (higher than 21% of CVEs)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
forgejo forgejobefore 15.0.3CVE List

All scores

VulnCheck5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
VulnCheck2.1low CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Forgejo antes de 15.0.3 contiene una vulnerabilidad de cross-site scripting almacenada que permite a atacantes autenticados ejecutar JavaScript arbitrario en los navegadores de otros usuarios al establecer un nombre completo que contiene una carga útil HTML y al activar una ejecución de Acciones. Cuando la opción DEFAULT_SHOW_FULL_NAME está habilitada, la descripción de la ejecución se ensambla en el lado del servidor con el nombre de visualización del usuario interpolado en una cadena HTML a través de una función de traducción que no escapa sus argumentos, y el frontend renderiza el resultado utilizando un enlace Vue v-html, causando la ejecución de scripts para cualquier usuario que vea la página de ejecución de Acciones afectada.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59102 changed 2026-07-06CVE Terms of Use
NVDCVE-2026-59102 changed 2026-10-23Public domain