{"id":"GHSA-87mg-h5r3-hw88","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.\n\n\n## Recommendation\n\nSanitize user input being passed to `bootbox` or consider using an alternative package.","modified":"2021-09-16T21:01:13Z","published":"2019-05-30T17:23:28Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2019-05-30T17:22:56Z","nvd_published_at":null,"cwe_ids":["CWE-64","CWE-79"],"severity":"MODERATE"},"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"}],"affected":[{"package":{"name":"bootbox","ecosystem":"npm","purl":"pkg:npm/bootbox"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"5.5.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/05/GHSA-87mg-h5r3-hw88/GHSA-87mg-h5r3-hw88.json"}}],"schema_version":"1.9.0"}