Skip to content

chore(deps): npm audit fix — clear all 6 high-severity vulnerabilities (lockfile-only)#81

Merged
rubenvdlinde merged 1 commit intodevelopmentfrom
chore/npm-audit-fix-h6
May 1, 2026
Merged

chore(deps): npm audit fix — clear all 6 high-severity vulnerabilities (lockfile-only)#81
rubenvdlinde merged 1 commit intodevelopmentfrom
chore/npm-audit-fix-h6

Conversation

@rubenvdlinde
Copy link
Copy Markdown
Contributor

Summary

Lockfile-only update via `npm audit fix` (no `--force`, no `package.json` edits, no major bumps). Clears every high-severity npm vulnerability flagged on `development`.

Severity Before After
High 6 0
Moderate 11 12
Low 28 32

What got patched

Package Before → After CVE / Alert
fast-xml-parser 4.5.4 → 4.5.6 Dependabot #52 (high), #70 (med) — entity-expansion bypass + CDATA injection
lodash bumped prototype pollution
node-forge bumped prototype pollution
path-to-regexp bumped ReDoS
picomatch bumped ReDoS
@conduction/nextcloud-vue 0.1.0-beta.3 → 0.1.0-beta.15 side effect — npm chose the latest published beta to satisfy the new resolution graph; brings in 12 upstream releases (CnAppNav / CnAppRoot work, etc.)
many transitive deps various resolution graph rebuild

Out of scope

The remaining 12 moderate + 32 low alerts all require major-version bumps that warrant their own PR + build/test cycle:

Verified locally

Test plan

  • Build succeeds
  • Lint regression-free
  • CI quality suite green
  • After merge, GitHub's "X vulnerabilities found" badge on every push drops the high-severity count
  • Spot-check a dashboard / widget loads correctly with the bumped `@conduction/nextcloud-vue` (12-version jump deserves a manual sanity click — components have all the same API but build output is regenerated)

Diff size note

The `package-lock.json` diff is ~2569 lines — that's auto-generated noise as npm rebuilds the resolution graph. The actionable changes are the version table above; reviewing the lockfile line by line is not productive. `npm audit` exit code is the meaningful gate.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

Quality Report — ConductionNL/mydash @ cd416eb

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 100/100
npm ❌ 1/498 denied
PHPUnit ⏭️
Newman ⏭️
Playwright ⏭️

❌ Denied npm licenses

Package Version License
apexcharts 5.10.6 Custom: https://apexcharts.com/media/apexcharts-logo.png

Quality workflow — 2026-05-01 07:56 UTC

Download the full PDF report from the workflow artifacts.

Lockfile-only update via `npm audit fix` (no --force, no
package.json changes, no major bumps). Resolves every high-severity
npm vulnerability flagged on the development branch:

- fast-xml-parser CVE chain (incl. Dependabot alerts #52, #70):
  4.5.4 → 4.5.6 (entity-expansion bypass + comment/CDATA injection)
- lodash prototype pollution
- node-forge prototype pollution
- path-to-regexp ReDoS
- picomatch ReDoS

As a side effect npm chose @conduction/nextcloud-vue 0.1.0-beta.15
(was beta.3), picking up the 12 intervening upstream releases
including all the recent CnAppNav/CnAppRoot work. The Nc* re-export
issue blocking eslint is unaffected — that lands when nextcloud-vue
PR #102 ships and a new beta is published.

Remaining: 12 moderate + 32 low. All require major-version bumps
(@nextcloud/webpack-vue-config v7, vue-loader v17, @vue/test-utils v2
which is Vue-3-only and would break the app, etc.) — out of scope
for an audit-fix sweep, deserve dedicated PRs with build/test
verification.

Verified locally:
- `npm run build` succeeds (35 webpack warnings, same baseline as dev)
- `npm run lint` no new errors (the 32 Nc* `import/named` errors are
  pre-existing, fixed by nextcloud-vue PR #102)
- `npm audit` reports 0 high-severity vulnerabilities (was 6)
@rubenvdlinde rubenvdlinde force-pushed the chore/npm-audit-fix-h6 branch from 708745e to 773a22d Compare May 1, 2026 08:06
@rubenvdlinde rubenvdlinde merged commit 9062bfc into development May 1, 2026
@rubenvdlinde rubenvdlinde deleted the chore/npm-audit-fix-h6 branch May 1, 2026 08:06
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

Quality Report — ConductionNL/mydash @ d1469c9

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 100/100
npm ❌ 1/498 denied
PHPUnit ⏭️
Newman ⏭️
Playwright ⏭️

❌ Denied npm licenses

Package Version License
apexcharts 5.10.6 Custom: https://apexcharts.com/media/apexcharts-logo.png

Quality workflow — 2026-05-01 08:07 UTC

Download the full PDF report from the workflow artifacts.

rubenvdlinde added a commit that referenced this pull request May 3, 2026
#81)

Lockfile-only update via `npm audit fix` (no --force, no
package.json changes, no major bumps). Resolves every high-severity
npm vulnerability flagged on the development branch:

- fast-xml-parser CVE chain (incl. Dependabot alerts #52, #70):
  4.5.4 → 4.5.6 (entity-expansion bypass + comment/CDATA injection)
- lodash prototype pollution
- node-forge prototype pollution
- path-to-regexp ReDoS
- picomatch ReDoS

As a side effect npm chose @conduction/nextcloud-vue 0.1.0-beta.15
(was beta.3), picking up the 12 intervening upstream releases
including all the recent CnAppNav/CnAppRoot work. The Nc* re-export
issue blocking eslint is unaffected — that lands when nextcloud-vue
PR #102 ships and a new beta is published.

Remaining: 12 moderate + 32 low. All require major-version bumps
(@nextcloud/webpack-vue-config v7, vue-loader v17, @vue/test-utils v2
which is Vue-3-only and would break the app, etc.) — out of scope
for an audit-fix sweep, deserve dedicated PRs with build/test
verification.

Verified locally:
- `npm run build` succeeds (35 webpack warnings, same baseline as dev)
- `npm run lint` no new errors (the 32 Nc* `import/named` errors are
  pre-existing, fixed by nextcloud-vue PR #102)
- `npm audit` reports 0 high-severity vulnerabilities (was 6)
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