Skip to content

build(frontend): update vue, source-map-js and xlsx for the open audit findings - #251

Merged
HTExplicit merged 1 commit into
mainfrom
build/frontend-security-updates
Oct 6, 2026
Merged

HTExplicit merged 1 commit into
mainfrom
build/frontend-security-updates

Conversation

@HTExplicit

Copy link
Copy Markdown
Owner

Problem

frontend-security is a required check and fails on main for every PR:

Change

  • vue 3.5.26 → 3.5.43 and source-map-js 1.2.1 → 1.2.2, each through a pnpm.overrides entry in the form the file already uses for postcss and nanoid. The vue range in dependencies is unchanged.
  • xlsx 0.18.5 → 0.20.3. npm has no fixed release; the fixed build is published by the author at https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz, and the dependency now points there. The two exceptions are deleted. The owner chose this over renewing the exceptions.
  • The lockfile changes only what these three pull in.

xlsx is used in one place, the admin usage export, which writes a sheet and never reads one.

Build note

pnpm install now fetches one tarball from cdn.sheetjs.com in addition to the registry. The lockfile records the URL and version; pnpm does not record an integrity hash for a remote tarball.

Verification

  • pnpm audit --prod --audit-level=high reports no high or critical finding; tools/check_pnpm_audit_exceptions.py passes with the two exceptions removed.
  • pnpm install --frozen-lockfile from the committed lockfile; vue-tsc --noEmit; check:i18n; vite build.
  • Full vitest suite: 375 files pass. One file fails as it does on main, groupModelAllowlist.spec.ts "accepts wildcards at any position" (not in CI's spec list, unrelated to these packages).

🤖 Generated with Claude Code

…t findings

The required frontend-security check fails on main for two advisories
published this week, and from 2026-10-07 for two more whose exceptions
expire:

- @vue/server-renderer GHSA-g2v6-rqmx-r4w6: vue 3.5.26 -> 3.5.43, through
  an override in the same form as the postcss one;
- source-map-js GHSA-68fv-2mgg-jv7q: 1.2.1 -> 1.2.2, through an override;
- xlsx GHSA-4r6h-8v6p-xvw6 and GHSA-5pgg-2g8v-p4x9: npm has no fixed
  release, so xlsx now comes from the author's own distribution,
  https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz, and the two
  exceptions are deleted. The site only writes spreadsheets (usage
  export); the owner chose the fixed build over renewing the exceptions.

The lockfile changes only what these three pull in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@HTExplicit
HTExplicit merged commit 81a8473 into main Oct 6, 2026
18 checks passed
@HTExplicit
HTExplicit deleted the build/frontend-security-updates branch October 6, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant