GHSA-87MG-H5R3-HW88

Vulnerability from github – Published: 2019-05-30 17:23 – Updated: 2021-09-16 21:01
VLAI?
Summary
Cross-Site Scripting in bootbox
Details

All version of bootbox are vulnerable to Cross-Site Scripting. The package does not sanitize user input in the provided dialog boxes, allowing attackers to inject HTML code and execute arbitrary JavaScript.

Recommendation

Sanitize user input being passed to bootbox or consider using an alternative package.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "bootbox"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "5.5.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-64",
      "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2019-05-30T17:22:56Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
  },
  "details": "All version of `bootbox` are vulnerable to Cross-Site Scripting. The package does not sanitize user input in the provided dialog boxes, allowing attackers to inject HTML code and execute arbitrary JavaScript.\n\n\n## Recommendation\n\nSanitize user input being passed to `bootbox` or consider using an alternative package.",
  "id": "GHSA-87mg-h5r3-hw88",
  "modified": "2021-09-16T21:01:13Z",
  "published": "2019-05-30T17:23:28Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/makeusabrew/bootbox/issues/661"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/508446"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/makeusabrew/bootbox"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/882"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "Cross-Site Scripting in bootbox"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…