Skip to content

docs: update docusaurus to 3.10.1 and clear audit reports - #25089

Merged
antobinary merged 4 commits into
bigbluebutton:developfrom
antobinary:docs-version
May 15, 2026
Merged

antobinary merged 4 commits into
bigbluebutton:developfrom
antobinary:docs-version

Conversation

@antobinary

Copy link
Copy Markdown
Member

What does this PR do?

Updates docusaurus to 3.10.1 and clear audit reports

Closes Issue(s)

Closes # none

Motivation

audit reports, older docusaurus

antobinary and others added 4 commits May 14, 2026 19:40
Navbar items used literal `to:` paths (e.g. `to: '/plugins'`), which
always resolved to the default version. Clicking a navbar item while
browsing 2.5/2.6/2.7 docs bounced the user back to 3.0.

Convert all six docs navbar items to `type: 'doc'` with `docId:`.
Docusaurus then resolves each link to the current version's URL —
e.g. `Development` becomes `/2.7/development/guide/` when the user
is on a 2.7 page, and stays at `/development/guide/` (3.0 default)
otherwise.

The Plugins item is the one exception: `plugins.md` only exists in
3.0, so on older versions it falls back to the 3.0 URL. Accepted as
a minor wart — adding stubs to each archived branch would be more
churn than it's worth for one nav item.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
…ories

Docusaurus 3.10.1 transitively pulls in [email protected] via
[email protected] and [email protected], which
triggers two high-severity advisories:

- GHSA-5c6j-r48x-rmvq (RCE via RegExp.flags / Date.prototype.toISOString)
- GHSA-qj8w-gfj5-8c6v (CPU-exhaustion DoS via crafted array-like objects)

Both are first patched in [email protected]. There is no
upstream Docusaurus release that bumps copy-webpack-plugin past the
vulnerable range, so we pin via npm overrides instead. The 6 → 7 major
bump is a Node.js engine bump, not an API change, so the webpack
plugins remain compatible.

These are build-time vulnerabilities (exploit requires malicious input
to webpack at build time) so practical risk for the deployed static
site was already minimal — this commit clears the audit noise.

Verified with docs/scripts/serve-and-probe.sh after npm install:
search, version-aware navbar, and multi-version routing all still pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • v4.0.x-release

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 8014ba5f-4080-4a68-b341-2580e2fd00be

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

@antobinary
antobinary merged commit 7f5517f into bigbluebutton:develop May 15, 2026
5 checks passed
@antobinary
antobinary deleted the docs-version branch May 15, 2026 14:55
@sonarqubecloud

Copy link
Copy Markdown

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