v1: auth-page innerHTML XSS (CVE-2025-52662) — fix 7cadbbe9 only on main
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 58/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- typescript
- Ambito
- authentication, security
Direzione di ricerca
Per prima cosa ispeziona packages/devtools/src/runtime/auth/index.html in v1 e confrontalo con il commit 7cadbbe9 per confermare l’assegnazione vulnerabile e il backport previsto. Verifica se v1 è ancora mantenuto; in tal caso, applica la modifica contenuta nell’unico commit e verifica che la pagina di autenticazione non scriva più il parametro di query Bearer tramite innerHTML.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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...7cadbbe9→ ahead_by=125, behind_by=0 (i.e.v1strictly lacks the fix path)packages/devtools/src/runtime/auth/index.htmlexists onv1and still containsinnerHTML-based assignment (the pre-patch shape)- No prior issue/PR references CVE-2025-52662 in this repo
- Last commit on
v1is 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!
- Lingua principale
- TypeScript
- Stelle
- 3.3k
- Fork
- 214
- Merge medio
- 19h 45m
- PR unite (30g)
- 12
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nuxt/devtools
-
fix: Inspect panel styles break when host page sets a custom html font-size (rem-based units) Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
-
feat: Nuxt devtools for AI Apertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
bug needs reproduction
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
Tutte le issue di nuxt/devtools
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
mksglu/context-mode#1200 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
anthropics/claude-code#96687 ·
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
AOSSIE-Org/DebateAI#582 · 2 commenti ·