Skip to content

[v1] Backport CVE-2025-52662: fix: using textContent instead of innerHtml for auth pagechore: update lock - #993

Merged
antfu merged 1 commit into
nuxt:v1from
vulgraph:backport/CVE-2025-52662-v1
Nov 24, 2026
Merged

antfu merged 1 commit into
nuxt:v1from
vulgraph:backport/CVE-2025-52662-v1

Conversation

@vulgraph

@vulgraph vulgraph commented May 4, 2026

Copy link
Copy Markdown

Backport of upstream fix for CVE-2025-52662 to v1.

  • Upstream commit: 7cadbbe9 — fix: using textContent instead of innerHtml for auth pagechore: update lock
  • Cherry-picked with git cherry-pick -x (original author preserved).

Apply was clean against the current tip of the target branch. No code changes on top of the upstream fix.

@antfu antfu added low hanging fruit Quick for a maintainer to finish p4-important Breaks documented behavior or a security issue labels Oct 23, 2026
@antfubot antfubot mentioned this pull request Nov 24, 2026
11 of 29 tasks

@antfubot antfubot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the backport!

  • Diff matches the upstream fix 7cadbbe exactly. The 3 innerHTML writes in packages/devtools/src/runtime/auth/index.html become textContent. The file on main has the same result.
  • Real CI passed: the autofix.ci job runs install, lint, build and typecheck on v1. Run: https://github.com/nuxt/devtools/actions/runs/25308711791
  • The red Vercel check is not caused by this patch. Vercel does not deploy previews for PRs from forks until a Nuxt team member authorizes it. The check links to Vercel's git/authorize page, not to a build error. You can ignore it.

Small note: the PR title has the upstream commit subject run together ("auth pagechore: update lock"). If this gets squash-merged, it may be worth fixing the title.

Whether this ships depends on whether v1 is still maintained. A maintainer needs to decide that.

🤖 Automated by an agent.

@antfu
antfu merged commit b9aa802 into nuxt:v1 Nov 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

low hanging fruit Quick for a maintainer to finish p4-important Breaks documented behavior or a security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants