Skip to content

chore: resolve npm audit warnings in bigbluebutton-html5, bbb-export-annotations, bbb-shared-notes-server, bbb-graphql-actions, bbb-learning-dashboard, docs, bigbluebutton-tests/playwright and bbb-graphql-client-test - #26195

Merged
antobinary merged 1 commit into
bigbluebutton:v3.0.x-developfrom
antobinary:npm-audit-20261022
Oct 23, 2026

Conversation

@antobinary

@antobinary antobinary commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

What this does

npm audit sweep of every npm project on v3.0.x-develop (base a5e8d60ace), resolved with semver-compatible moves only. One commit, package.json / package-lock.json files only (10 files across 8 projects). No source change.

component package change semver
bigbluebutton-html5 sanitize-html 2.17.7 -> 2.18.1 (manifest pin + lock) minor
bigbluebutton-html5 postcss-selector-parser (via css-loader -> postcss-modules-local-by-default 4.0.5 -> 4.2.0, postcss-modules-scope 3.2.0 -> 3.2.1) hoisted 6.1.4 -> 7.1.7, nested 7.1.5 copy deduped transitive, within declared ranges
bigbluebutton-html5 follow-redirects, launch-editor, webpack-dev-server, postcss, dayjs, fast-glob, is-plain-object, launder lock-only patch/minor moves patch/minor
bbb-export-annotations follow-redirects (via axios) 1.16.0 -> 1.16.1 patch, lock only
bbb-shared-notes-server follow-redirects (via axios), ip-address (via express-rate-limit) 1.16.0 -> 1.16.1, 10.7.2 -> 10.7.4 patch, lock only
bbb-graphql-actions nodemon subtree (dev) 3.0.1 -> 3.1.14, chokidar 3.5.3 -> 3.6.0, its minimatch / brace-expansion / balanced-match re-resolved lock only, within ^3
bbb-learning-dashboard react-scripts 5.0.1 / tailwindcss 3.4 subtree 72 hoisted entries moved within their declared ranges (@typescript-eslint/* 5.27.1 -> 5.62.0, jest-* 28.1.1 -> 28.1.3, follow-redirects, source-map-js, launch-editor, postcss plugins) lock only
docs @docusaurus/* declared ranges ^3.3.2 / ^3.5.0 / ^3.7.0 -> ^3.10.2 (the lock already resolved 3.10.2; declarative, matches v4.0.x-develop) none in the lock
docs overrides add tinypool ^2.1.2, postcss-selector-parser ^7.1.6, sockjs -> uuid ^11.1.1 (same set as #26059 on 4.0, minus its mermaid pin, see below) lock: tinypool 1.1.1 -> 2.2.0, postcss-selector-parser 6.1.4 -> 7.1.7, sockjs's uuid 8.3.2 -> 11.1.1, dompurify 3.4.16 -> 3.4.17, express 4.22.3, body-parser, qs, http-cache-semantics, js-yaml 4.3.2, follow-redirects, launch-editor, webpack-dev-server
bigbluebutton-tests/playwright @typescript-eslint/* (dev) 8.45.0 -> 8.72.0 within ^8; follow-redirects, js-yaml 4.3.2, semver, ts-api-utils lock only
bbb-graphql-client-test jest support packages pulled by @testing-library/* ranges 29.7.0 -> 30.5.x; tailwindcss 3.4.4 -> 3.4.19; nanoid, qs, colord, fast-uri, follow-redirects, launch-editor lock only, within declared ranges

Why each change

sanitize-html 2.17.7 -> 2.18.1 (bigbluebutton-html5, production bundle). Closes GHSA-374f-7chj-9948 (SMIL animate namespace-prefix bypass -> javascript: URI, moderate), GHSA-x3q4-9hxx-gx8m (<noscript> content leaking past the nonTextTags discard region, moderate) and GHSA-cv27-6wvh-8x7j (meta http-equiv=refresh content, moderate). Reachability: the client has exactly one call site, stripTags() in imports/utils/string-utils.js, which runs sanitize(text, { allowedTags: [] }). Its three callers are the chat notification toast (messageAsHtml of an incoming chat message), the "save chat" export (the same server-rendered message HTML) and the plugin event-persistence manager (plugin event names), so attacker-controlled chat markup does flow through this package. All three advisories concern how permitted tags and attributes are handled; with no tags allowed the output never contains markup, so I do not believe they are exploitable at our call site. The bump is hygiene for the one package in the shipped bundle that processes attacker-controlled text, and it is the only change that alters the runtime bundle.

postcss-selector-parser -> 7.1.7 (bigbluebutton-html5, docs). GHSA-rj75-hqrm-r3gf (quadratic selector parsing, moderate). Build-time only: it runs inside css-loader / PostCSS on our own stylesheets during webpack and Docusaurus builds. It showed up under --omit=dev only because postcss-nested sits in dependencies. Not reachable at runtime. In html5 the top-level 6.1.4 copy and the nested 7.1.5 copy collapse into a single 7.1.7 because the two postcss-modules-* plugins now accept ^7.

follow-redirects 1.16.0 -> 1.16.1 (bbb-export-annotations, bbb-shared-notes-server, bigbluebutton-tests/playwright, and dev trees). GHSA-q3jh-wrc6-jgq8 and GHSA-8r9p-f939-6h3c (credential headers surviving a cross-origin redirect, high). Pulled by axios 1.20.0. Both services only call the local BBB API / internal services with axios, so a cross-origin redirect carrying credentials is not a realistic path; patch-level, lock only.

ip-address 10.7.2 -> 10.7.4 (bbb-shared-notes-server). GHSA-rxp7-6hxx-x8q5 (Address6 zone-id quadratic parse, moderate). Reached through express-rate-limit, which parses the client address of every request to the notes server, so a crafted X-Forwarded-For-style value could reach it. Patch-level, lock only.

docs overrides. GHSA-5gmw-xhrv-c9v3 / GHSA-85c8-ppgw-ccpr (tinypool prototype-pollution -> RCE, critical) and GHSA-cg2g-xh64-v4q7 (DOMPurify SAFE_FOR_TEMPLATES bypass, critical) plus the uuid / postcss-selector-parser moderates. All of it is Docusaurus build tooling or Mermaid's bundled sanitizer rendering our own diagrams, not user input, and deploy-docs.yml only builds from develop, so nothing on this branch is served. The point is parity with v4.0.x-develop (#26059) so the next forward merge of docs/package.json is a clean three-way merge, and a docs lock that is not red on every npm install. The 4.0 mermaid ^11.17.2 override is deliberately not copied: on this branch @docusaurus/theme-mermaid 3.10.2 (mermaid >=11.6.0) already resolves mermaid 12.2.0 with katex 0.18.10 and dompurify 3.4.17, and the pin would downgrade it to 11.17.2 / katex 0.16.47, which re-introduces GHSA-238p-pmpm-9mq7. (Follow-up for 4.0: its docs lock is on mermaid 11.17.2 / dompurify 3.4.16 today, so the same critical DOMPurify advisory is open there; dropping the mermaid override and npm update mermaid clears it.)

Everything else is npm audit fix output: lock-only moves of dev tooling (@typescript-eslint, launch-editor, webpack-dev-server, js-yaml, nodemon, CRA plugins) within the ranges the manifests already declare. No manifest line changed for those.

Major version upgrades

No direct dependency needed a major upgrade, and none was made. The two manifest edits are a minor bump (sanitize-html) and declarative range / override changes in docs.

Transitive packages that crossed a major in the hoisted tree, all pulled by a dependent whose declared range admits the new major (npm ls --all reports zero invalid entries in every project):

project package from -> to pulled by
bigbluebutton-html5 postcss-selector-parser 6.1.4 -> 7.1.7 postcss-modules-local-by-default 4.2.0, postcss-modules-scope 3.2.1 (^7), postcss-nested 7.0.2
bbb-graphql-actions minimatch / brace-expansion / balanced-match 3.1.5 -> 10.2.6 / 1.1.21 -> 5.0.12 / 1.0.2 -> 4.0.4 nodemon 3.1.14 (dev)
bbb-learning-dashboard postcss-nested, cssdb, fraction.js 5.0.6 -> 6.2.0, 6.6.3 -> 7.11.2, 4.2.0 -> 5.3.4 tailwindcss 3.4.19, postcss-preset-env 7.8.3 (react-scripts), autoprefixer 10.6.1
docs postcss-selector-parser, tinypool, sockjs's uuid 6.1.4 -> 7.1.7, 1.1.1 -> 2.2.0, 8.3.2 -> 11.1.1 the new overrides (same values as 4.0)
bigbluebutton-tests/playwright minimatch, brace-expansion, picomatch 9.0.9 -> 10.2.6, 2.1.7 -> 5.0.12, 2.3.2 -> 4.0.7 @typescript-eslint/typescript-estree 8.72.0 (dev; also drops fast-glob/micromatch/braces for tinyglobby)
bbb-graphql-client-test @jest/*, expect, jest-*, @types/jest 29.x -> 30.5.x @testing-library/jest-dom ^5 / @types/jest open ranges (dev harness)

The hoisted-package map before/after each lock is in the work files (lock-deltas.txt).

Advisories deliberately left open

project what why not now
bigbluebutton-html5 (dev) @typescript-eslint/* 6.21.0 -> minimatch 9.0.3 ReDoS, globby/fast-glob -> micromatch -> braces fix is @typescript-eslint 7.5+/8 (major); lint tooling only
bigbluebutton-html5 (dev) lint-staged 11.2.0, webpack-dev-server 5.2.7 (chokidar 3, http-proxy-middleware, sockjs -> uuid 8) -> braces fixes are lint-staged 17 and webpack-dev-server 6 (majors); pre-commit hook and npm start only
bigbluebutton-html5 (dev) eslint 7.32 / eslint-config-airbnb / husky 4 -> js-yaml 3 -> argparse -> sprintf-js (moderate) eslint 10, airbnb 19, husky 9 majors
bbb-graphql-actions, bbb-shared-notes-server (dev) nodemon 3.1.14 -> chokidar 3.6 -> braces (GHSA-vfj7-8cjw-p6xm) no fixed braces release exists (<=3.0.3 is every version); npm's only offer is a downgrade to nodemon 1.14.10
bbb-learning-dashboard 53 high / 37 moderate, all under react-scripts 5.0.1 (webpack-dev-server, webpack-dev-middleware, svgo 1.x, node-forge via selfsigned, jest 27, braces) plus tailwindcss 3 and eslint 7 majors CRA is unmaintained; nothing here is in the shipped static bundle (it looks production-facing only because CRA keeps its toolchain in dependencies). 4.0 moved the dashboard to Vite (#25509); not a 3.0 change
bigbluebutton-tests/playwright (dev) husky 4 -> cosmiconfig -> js-yaml 3 -> argparse -> sprintf-js (5 moderate) husky 9 major; git hook tooling
bbb-graphql-client-test (dev) 59 high / 33 moderate / 3 low under its react-scripts 5.0.1 devDependency dev scratch harness; --omit=dev is clean
docs braces x31 paths no fixed release exists; same residue as v4.0.x-develop after #26059

Residual audit state (npm audit --omit=dev, after)

project before after
bigbluebutton-html5 moderate 2 clean
bbb-export-annotations high 1 clean
bbb-graphql-actions clean clean
bbb-shared-notes-server high 1, moderate 1 clean
bbb-learning-dashboard high 56, moderate 36 high 53, moderate 37 (CRA toolchain, see above)
docs critical 18, high 19, moderate 18 high 31 (braces only)
bigbluebutton-tests/playwright high 1 clean
bbb-graphql-client-test high 5 clean

Full-tree counts (dev included): html5 H16/M15 -> H14/M11; export-annotations H1 -> clean; graphql-actions H3 -> H3; shared-notes H4/M1 -> H3; dashboard H56/M38 -> H53/M39; docs C18/H19/M18 -> H31; playwright H10/M2 -> M5; client-test H64/M37/L3 -> H59/M33/L3. No advisory that was absent before is present after, in any project.

Testing

Environment. bigbluebutton-tests/playwright from this branch (its lock moved only lint tooling; @playwright/test 1.56.0 unchanged, chromium 1194), npm run test-chromium = --project=chromium --grep @ci --grep-invert '@flaky|@need-update|@only-headed|@setting-required', 406 tests, 2 workers, no TIMEOUT_MULTIPLIER. Target: the local bbb30 container (imdt/bigbluebutton:3.0.x-develop, bbb-html5 1:3.0-130, bbb-web 1:3.0-43, bbb-apps-akka 1:3.0-45). The container's own baked bundle (bundleHash cf3bdaefb3913ae0e7ad) was not what was tested: two local builds of this very commit were deployed into /usr/share/bigbluebutton/html5-client in turn, each verified by fetching /html5client/ and matching the bundleHash line and the bundle.<hash>.js it names (200, 8.8 MB), then the original directory was restored.

  • control bundle = this commit with the base bigbluebutton-html5/package.json + lock (bundleHash 6b61a9699268d40a93f4)
  • branch bundle = this commit as committed (bundleHash 9065aac06c89a778107e)

The two bundles differ in content (sanitize-html 2.18.1 and the postcss-selector-parser dedupe both end up in the output), so this is the clean A/B: same server, same tests, same settings, only the dependency change between them. npm run build-safari was not run (chromium only), so no .safari.js variant was deployed.

One environment fix was needed first: the dev image symlinks the served private/config/settings.yml into the host checkout, which sat on the 4.0.0 GA commit, so the first pair of runs saw showParticipantsOnLogin: false and 246 of 406 tests timed out on the closed user list on both bundles (identical per-test outcomes, reports kept in the work files as *-4.0settings.json). For the runs below a copy of this branch's settings.yml was put in place and akka-apps restarted; the symlink was restored afterwards.

Pre-flight on the branch: CI=true npm ci + npm run tscheck + npm run build green (webpack 69 s under a 7 GB cgroup cap); husky pre-commit ran tsc --noEmit --incremental at commit time and passed (not bypassed); bbb-learning-dashboard npm ci --omit=dev + DISABLE_ESLINT_PLUGIN=true npm run build green (the packaging recipe); bbb-graphql-actions and bbb-shared-notes-server npm ci + npm run build green; bbb-export-annotations npm ci --omit=dev green; docs npm ci + npm run build green in the node:24 image (35 s, --memory=7g). Full npm audit before/after captured for every project (work files).

Before (control bundle, full suite): 406 tests: 386 passed, 14 failed, 6 skipped (30.9 min).

After (branch bundle, full suite): 406 tests: 381 passed, 19 failed, 6 skipped (40.1 min). The extra duration and the extra failures come from two unrelated causes, so every differing test was re-run in isolation:

test control branch (full run) branch, isolated verdict
user.spec.ts Lock viewers > Lock Edit Shared Notes pass timedOut pass suspend artefact
user.spec.ts Lock viewers > Lock See other viewers in the Users list pass fail pass suspend artefact
user.spec.ts Lock viewers > Lock Send private chat messages pass timedOut pass suspend artefact
user.spec.ts Lock viewers > Lock see other viewers annotations pass fail pass suspend artefact
whiteboard.spec.ts Whiteboard tools > Draw line pass fail pass suspend artefact
whiteboard.spec.ts Whiteboard tools > Draw rectangle pass fail pass suspend artefact
whiteboard.spec.ts Whiteboard tools > Redo drawing pass fail fail, fail, pass, pass, pass, pass (6 isolated runs) flaky screenshot, see below
learningdashboard.spec.ts Basic Infos fail pass - flaky (direction A->B)
user.spec.ts Lock viewers > Lock Share microphone fail pass - flaky (direction A->B)

Redo drawing is a toHaveScreenshot of the viewer page after undo with maxDiffPixels: 1000; the diff image shows only the other user's cursor dot, the chat input focus ring and the random meeting name. In a clean series of three isolated runs per bundle the branch bundle passed 3 of 3 and the control bundle failed 1 of 3 (the saved diff/actual images are in the work files), so the check is on the edge of its pixel allowance on either bundle and does not attribute to this change.

The 14 failures shared by both runs are the pre-existing state of this container (learning dashboard "Active" status, dark-mode / font-size / presentation screenshots, recording retrieval, the "Expected an editing shape!" whiteboard crash fixed in #26077, export text rows), identical on the control bundle.

check result conclusion
full suite on the control bundle (same commit, base lock) 386 / 14 / 6 the 14 are present without the dependency change
full suite on the branch bundle 381 / 19 / 6; 7 extra failures, all in the window of two laptop suspends needs isolation
the 7 extra failures re-run in isolation on the branch bundle 6 pass; Redo drawing 4 of 6 6 attributed to the suspend
Redo drawing, 3 isolated runs per bundle branch 3/3 pass, control 2/3 pass flaky on both bundles

Verdict: no Playwright failure is attributable to this change.

Pre-existing issues surfaced (not touched here)

  • bbb-shared-notes-server: npm run typecheck fails (src/common/singleton.ts(1,10): TS2305: Module './type' has no exported member 'MeetingLock') and npm run lint reports 3 no-unused-vars errors. Byte-identical output on the untouched base; npm run build (tsup) succeeds, which is what packaging runs.
  • docs: Docusaurus reports ~10 broken anchors (/development/api#create, /plugins#plugin-versioning, ...) as warnings; content issue, build still succeeds.
  • .github/workflows/deploy-docs.yml on this branch still says Node 18 and yarn install --frozen-lockfile against a docs/yarn.lock that does not exist; harmless because it only triggers on develop, where the workflow is already the Node 24 / npm ci one.
  • docs/package.json engines.node >=18.0 is stale (Docusaurus 3.10 needs Node 20+; 4.0 says >=24.0). Left alone; policy call.
  • 4.0 docs: the mermaid ^11.17.2 override there now holds back mermaid 12 / katex 0.18 / dompurify 3.4.17 (see above).

…ions, bbb-shared-notes-server, bbb-graphql-actions, bbb-learning-dashboard, docs, bigbluebutton-tests/playwright and bbb-graphql-client-test
@antobinary antobinary added this to the Release 3.0 milestone Oct 22, 2026
@antobinary antobinary changed the title resolve npm audit warnings in bigbluebutton-html5, bbb-export-annotations, bbb-shared-notes-server, bbb-graphql-actions, bbb-learning-dashboard, docs, bigbluebutton-tests/playwright and bbb-graphql-client-test chore: resolve npm audit warnings in bigbluebutton-html5, bbb-export-annotations, bbb-shared-notes-server, bbb-graphql-actions, bbb-learning-dashboard, docs, bigbluebutton-tests/playwright and bbb-graphql-client-test Oct 22, 2026
@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: da1ac2a5-d7a0-4954-a891-1cfb4f17f439
📥 Commits

Reviewing files that changed from the base of the PR and between a5e8d60 and 2ade800.

⛔ Files ignored due to path filters: 8
  • bbb-export-annotations/package-lock.json is excluded by !**/package-lock.json
  • bbb-graphql-actions/package-lock.json is excluded by !**/package-lock.json
  • bbb-graphql-client-test/package-lock.json is excluded by !**/package-lock.json
  • bbb-learning-dashboard/package-lock.json is excluded by !**/package-lock.json
  • bbb-shared-notes-server/package-lock.json is excluded by !**/package-lock.json
  • bigbluebutton-html5/package-lock.json is excluded by !**/package-lock.json
  • bigbluebutton-tests/playwright/package-lock.json is excluded by !**/package-lock.json
  • docs/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing: 2
  • bigbluebutton-html5/package.json
  • docs/package.json

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

Walkthrough

The HTML5 package updates sanitize-html from 2.17.7 to 2.18.1. The documentation package updates its Docusaurus runtime and development dependencies to ^3.10.2. It also adds overrides for postcss-selector-parser, sockjs’s nested uuid, and tinypool; the existing serialize-javascript override remains unchanged.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Suggested reviewers: guileme

Merge Risk: ⚪ Minimal · up to 2ade8

No confirmed dependency issue prevents merging.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title accurately describes the dependency and npm audit remediation work. It is overly long because it lists all affected projects, but it remains specific and fully related to the changeset.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The pull request description directly describes the dependency manifest and lockfile updates, security advisory remediation, testing, and remaining audit findings summarized in the changeset.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

🚨 Automated tests failed

@antobinary
antobinary merged commit e9ff019 into bigbluebutton:v3.0.x-develop Oct 23, 2026
79 of 87 checks passed
antobinary added a commit that referenced this pull request Oct 27, 2026
Covers v3.0.39..v3.0.x-develop 1830523 (88 non-merge commits). The
catch-up in ff9bb09 audited develop up to 41c3d21, which 3.0.39
contains, so nothing from 3.0.37 to 3.0.39 was left over. Most of this
range came with its own docs: the Grails 8 stack and what it changes for
integrations and administrators (427b797, 627c4da), the
bbb-playback-presentation-legacy package (#25836) and the dead
`captions` value of disabledFeatures (#25972).

new-features.md
- Upgraded components: Tomcat 11.0.26 -> 11.0.27 (#26240,
  ext['tomcat.version'] in bigbluebutton-web/build.gradle).
- Other notable changes: public.chat.announceUserAwayStatusInChat
  (#26089, default true). bbb-apps-akka reads it from settings.yml merged
  with /etc/bigbluebutton/bbb-html5.yml when it starts, and from the
  create call's client settings override, so it can be set per server or
  per session. The away icon is not affected. The entry also names
  announcePresenterChangeInChat, which does the same for presenter
  changes and was never documented.
- Recent releases: added 3.0.40 ahead of the tag, so the list is ready
  when the release ships. The link 404s until then.

development/dev-guide.md
- deploy_to_usr_share.sh installs the packaged bbb-web.service when the
  installed unit differs, and stops before deploying while an override
  keeps the Grails 7 classpath (6cf8e1c, dcc1883).

Deliberately not changed
- bbb-web properties ledger: bigbluebutton.properties only lost
  `captions` from a comment. The keys the Grails 8 port added to bbb-web's
  application.properties (grails.security.headers.enabled,
  server.tomcat.max-parameter-count, spring.servlet.multipart.*) are
  covered by the Grails 8 section.
- akka-apps application.conf, ApiParams, the create/join tables,
  resources.xml and bbb-conf are unchanged in the range.
- lettuce-core 7.7.0 and the other dependency bumps (#26195, #26199), and
  the CI build image with Go 1.27.3, Gradle 9.8.1 and Node 22.23.4:
  nothing an administrator sees; bbb-web still builds with its Gradle
  9.8.0 wrapper.
- Fixes are left to the release notes, including the two that touch
  documented features: every self-unmute now ends the away status
  (#25940), and the Web Speech captions use the session's microphone on
  Chrome 135 or later (#25927). The others are the stale connection
  watchdog, GraphQL stream replay, recording panzoom and exported text
  wrapping.

`npx docusaurus build` passes. The new anchor resolves, and none of the
build's broken-anchor warnings involve a link added here.
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