Skip to content

OTWO-7714 CWE-1104: Bootstrap 3.2.0 in use — XSS CVEs (CVE-2018-14041… - #1946

Open
Niharika1117 wants to merge 2 commits into
stagingfrom
OTWO-7714
Open

OTWO-7714 CWE-1104: Bootstrap 3.2.0 in use — XSS CVEs (CVE-2018-14041…#1946
Niharika1117 wants to merge 2 commits into
stagingfrom
OTWO-7714

Conversation

@Niharika1117

Copy link
Copy Markdown
Contributor

…, CVE-2018-14042, CVE-2019-8331) unpatched; bundle-audit non-blocking in CI

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the frontend Bootstrap JavaScript to address known XSS-related CVEs affecting Bootstrap 3.2.0, and adjusts the asset manifest and CI behavior accordingly.

Changes:

  • Vendor Bootstrap JavaScript updated to Bootstrap v3.4.1 (bootstrap.min.js) to pick up security fixes.
  • Asset pipeline manifest switched from twitter/bootstrap to the vendored bootstrap.min.
  • CI workflow’s bundle-audit step behavior changed by removing continue-on-error.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
vendor/assets/javascripts/bootstrap.min.js Replaces the Bootstrap JS runtime with v3.4.1 (security patch level update).
app/assets/javascripts/application.js.coffee Updates Sprockets directive to load the new vendored Bootstrap asset.
.github/workflows/ci.yml Adjusts bundle-audit step error-handling behavior in CI.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/ci.yml
Comment on lines 69 to 72
- name: Bundle Audit
run: |
bundle exec bundle-audit update
bundle exec bundle-audit check
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