Skip to content

[GHSA-9v3m-8fp8-mj99] Bootstrap Vulnerable to Cross-Site Scripting - #11391

Open
yusuke-koyoshi wants to merge 1 commit into
yusuke-koyoshi/advisory-improvement-11391from
yusuke-koyoshi-GHSA-9v3m-8fp8-mj99
Open

yusuke-koyoshi wants to merge 1 commit into
yusuke-koyoshi/advisory-improvement-11391from
yusuke-koyoshi-GHSA-9v3m-8fp8-mj99

Conversation

@yusuke-koyoshi

Copy link
Copy Markdown

Updates

  • Affected products

Comments
Add the packages that ship the same Bootstrap JavaScript but are missing from this advisory.

  • org.webjars.npm:bootstrap and org.webjars.bower:bootstrap repackage the npm / Bower releases of Bootstrap and contain the same tooltip / popover plugins; only org.webjars:bootstrap is listed today. Their dist/js is byte-identical to npm bootstrap at 3.3.7 and 4.1.1.
  • org.webjars:bootstrap-sass, org.webjars.npm:bootstrap-sass and org.webjars.bower:bootstrap-sass repackage bootstrap-sass (npm and RubyGems bootstrap-sass are already listed). I checked every published version (org.webjars 3.0.0-3.4.1, org.webjars.npm 3.3.5-3.4.3, org.webjars.bower 3.2.0-3.3.7): only 3.4.1 / 3.4.3 contain the tooltip sanitizer (sanitizeHtml); all earlier versions do not. org.webjars.bower:bootstrap-sass ends at 3.3.7, so it has no patched version.
  • The version ranges follow the existing org.webjars:bootstrap and bootstrap-sass entries.

Evidence (artifacts checked):

Copilot AI adaptive review requested due to automatic review settings November 17, 2026 14:20
@github-actions
github-actions Bot changed the base branch from main to yusuke-koyoshi/advisory-improvement-11391 November 17, 2026 14:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

An active moderate finding remains because marking 3.4.1 as fixed leaves vulnerable releases 3.4.1–3.4.2 outside the affected range; the fixed event should be 3.4.3.

1 open issue
What changed in this PR

Expands GHSA-9v3m-8fp8-mj99 coverage to additional Maven WebJars distributions that repackage vulnerable Bootstrap and Bootstrap Sass JavaScript.

Changes:

  • Adds npm and Bower Bootstrap WebJars for Bootstrap 3.x and 4.x.
  • Adds standard, npm, and Bower Bootstrap Sass WebJars, including the unpatched Bower range through 3.3.7.
  • Updates affected-package metadata and the advisory modification timestamp.
File Description
advisories/​github-reviewed/​2019/​02/​GHSA-9v3m-8fp8-mj99/​GHSA-9v3m-8fp8-mj99.json Extends the advisory's affected-package metadata with additional Bootstrap and Bootstrap Sass Maven WebJars distributions and their version ranges.

Review effort: Lite (adaptive)

"introduced": "3.0.0"
},
{
"fixed": "3.4.1"

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think 3.4.1 is correct as the fixed version here.

org.webjars.npm:bootstrap-sass has 3.3.5, 3.3.6, 3.3.7, 3.4.1 and 3.4.3 on Maven Central; there is no 3.4.2 release. The 3.4.1 jar already contains the tooltip sanitizer (sanitizeHtml): its tooltip.js is byte-identical to npm bootstrap 3.4.1 js/tooltip.js, and 3.4.3 has the same code. 3.3.7 does not have it. So 3.4.1 is the first patched version for this package, consistent with the existing npm bootstrap-sass entry (>= 3.0.0, < 3.4.1).

The sentence in the description ("only 3.4.1 / 3.4.3 contain the tooltip sanitizer") means that both 3.4.1 and 3.4.3 have the fix.

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.

2 participants