CVE-2018-14040 (Low) detected in bootstrap-3.3.1.js, bootstrap-3.3.1.min.js

Open Beginner friendly
#58 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
bootstrap
Domain
frontend, security

Research direction

Start with /static/bootstrap-3.3.1/js/bootstrap.js and /static/bootstrap-3.3.1/js/bootstrap.min.js, then review the CVE-2018-14040 details and suggested fixed versions. Update the Bootstrap assets to a listed fixed version and verify that neither vulnerable 3.3.1 file remains in the static directory.

Written by the indexing model from the issue text.

Description

Mend: dependency security vulnerability

CVE-2018-14040 - Low Severity Vulnerability

Vulnerable Libraries - bootstrap-3.3.1.js, bootstrap-3.3.1.min.js

bootstrap-3.3.1.js

The most popular front-end framework for developing responsive, mobile first projects on the web.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/js/bootstrap.js

Path to vulnerable library: /static/bootstrap-3.3.1/js/bootstrap.js

Dependency Hierarchy:

  • bootstrap-3.3.1.js (Vulnerable Library)
bootstrap-3.3.1.min.js

The most popular front-end framework for developing responsive, mobile first projects on the web.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/js/bootstrap.min.js

Path to vulnerable library: /static/bootstrap-3.3.1/js/bootstrap.min.js

Dependency Hierarchy:

  • bootstrap-3.3.1.min.js (Vulnerable Library)

Found in HEAD commit: b7f73c7362ca5b63a8e9a9afcad52f1c85e9912a

Found in base branch: main

Vulnerability Details

In Bootstrap before 4.1.2, XSS is possible in the collapse data-parent attribute.

Publish Date: 2018-07-13

URL: CVE-2018-14040

CVSS 3 Score Details (3.7)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2018-07-13

Fix Resolution: org.webjars.npm:bootstrap:4.1.2,org.webjars:bootstrap:3.4.0


Step up your Open Source Security Game with Mend here

Dominant language
SCSS
Stars
1
Forks
6
Avg merge
1m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

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.

More from xmidt-org/docs

All issues in xmidt-org/docs

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.