{"id":"GHSA-jp6r-xcjj-5h7r","summary":"Cross-Site Scripting in cyberchef","details":"Versions of `cyberchef` prior to 8.31.3 are vulnerable to Cross-Site Scripting. In `Text Encoding Brute Force` the table rows are created by concatenating the `value` variable unsanitized in the HTML code. If this variable is controlled by user input it allows attackers to execute arbitrary JavaScript in a victim's browser.\n\n\n## Recommendation\n\nUpgrade to version 8.31.3 or later.","aliases":["CVE-2019-15532"],"modified":"2023-11-01T04:50:31.692760Z","published":"2019-08-27T17:36:32Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2019-08-27T15:50:14Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15532"},{"type":"WEB","url":"https://github.com/gchq/CyberChef/issues/539"},{"type":"WEB","url":"https://github.com/gchq/CyberChef/issues/544"},{"type":"WEB","url":"https://github.com/gchq/CyberChef/commit/01f0625d6a177f9c5df9281f12a27c814c2d8bcf"},{"type":"WEB","url":"https://github.com/gchq/CyberChef/compare/v8.31.1...v8.31.2"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-CYBERCHEF-460296"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1149"}],"affected":[{"package":{"name":"cyberchef","ecosystem":"npm","purl":"pkg:npm/cyberchef"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.31.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/08/GHSA-jp6r-xcjj-5h7r/GHSA-jp6r-xcjj-5h7r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}