rstudio / rstudio/bslib

Bootstrap Cross-Site Scripting (XSS) vulnerability

Open
#1,164 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
569
Forks
72
Avg merge
1d 2h
Merged PRs (30d)
5

Description

Describe the problem

Link: https://github.com/advisories/GHSA-vc8w-jr9v-vj7f

  ┌──────────────────────────┬───────────────┬──────────┬────────┬───────────────────┬───────────────┬───────────────────────────────────────────────────────┐
  │         Library          │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │                         Title                         │
  ├──────────────────────────┼───────────────┼──────────┼────────┼───────────────────┼───────────────┼───────────────────────────────────────────────────────┤
  │ bootstrap (package.json) │ CVE-2024-6531 │ MEDIUM   │ fixed  │ 4.6.0             │ 5.0.0         │ A vulnerability has been identified in Bootstrap that │
  │                          │               │          │        │                   │               │ exposes users to ......                               │
  │                          │               │          │        │                   │               │ https://avd.aquasec.com/nvd/cve-2024-6531             │
  └──────────────────────────┴───────────────┴──────────┴────────┴───────────────────┴───────────────┴───────────────────────────────────────────────────────┘
  

This vulnerability is still present in the latest version of r-bslib, as it bundles Bootstrap version 4.6.0, which is affected by the issue.

Could bslib team help fix this vulnerabilities to protect the lib user?

Request for Assistance

Could the r-bslib team update Bootstrap to version 5.0.0 or higher to resolve this vulnerability and ensure the security of the library’s users?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the Bootstrap dependency in package.json and how bslib bundles Bootstrap 4.6.0. Check the linked advisory and verify the affected dependency is replaced with Bootstrap 5.0.0 or newer, then confirm the vulnerability is no longer reported and existing Bootstrap 3, 4, and 5 support remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap
Domain
frontend, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.