Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

v1: auth-page innerHTML XSS (CVE-2025-52662) — fix 7cadbbe9 only on main

Abierto
#988 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
58/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
typescript

Línea de trabajo

Primero inspecciona packages/devtools/src/runtime/auth/index.html en v1 y compáralo con el commit 7cadbbe9 para confirmar la asignación vulnerable y el backport previsto. Comprueba si v1 todavía recibe mantenimiento; si es así, aplica el cambio de un solo commit y verifica que la página de autenticación ya no escriba el parámetro de consulta Bearer mediante innerHTML.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hi — flagging a likely missing backport on the v1 branch.

CVE-2025-52662 was fixed by 7cadbbe9 on the default branch ("using textContent instead of innerHTML for auth page"). The patch swaps an innerHTML write to textContent inside packages/devtools/src/runtime/auth/index.html, eliminating a DOM-XSS sink fed by the Bearer query parameter.

A few facts that suggest the fix did not reach v1:

  • compare v1...7cadbbe9ahead_by=125, behind_by=0 (i.e. v1 strictly lacks the fix path)
  • packages/devtools/src/runtime/auth/index.html exists on v1 and still contains innerHTML-based assignment (the pre-patch shape)
  • No prior issue/PR references CVE-2025-52662 in this repo
  • Last commit on v1 is 2025-01-02, so the branch is not totally inactive

If v1 is still considered a maintained line for users on the older Nuxt-DevTools major, a one-commit cherry-pick of 7cadbbe9 onto v1 would close the gap. The patch is a single small file edit and should not collide with anything else.

Happy to open the cherry-pick PR if it would help. If v1 is end-of-life and users should upgrade, that's also a clear answer — please close in that case so I don't re-surface it.

Thanks for maintaining devtools!

Lenguaje dominante
TypeScript
Estrellas
3.3k
Forks
214
Merge medio
19 h 45 min
PR fusionados (30 d)
12

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nuxt/devtools

Todos los issues de nuxt/devtools

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.