{"id":"GHSA-g7mw-5cq6-fv82","aliases":[],"status":"published","title":"Cross-Site Scripting in wangeditor","description":"All versions of `wangeditor` are vulnerable to Cross-Site Scripting. The package fails to properly encode output, allowing arbitrary JavaScript to be inserted in links and executed by browsers.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2020-09-02T21:20:40Z","modified":"2023-01-09T05:04:05Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"wangeditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"npm","package":"wangeditor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}],"references":[{"url":"https://github.com/wangfupeng1988/wangEditor/issues/1945","tags":["web"]},{"url":"https://snyk.io/vuln/SNYK-JS-WANGEDITOR-174536","tags":["web"]},{"url":"https://www.npmjs.com/advisories/876","tags":["web"]},{"url":"https://github.com/advisories/GHSA-g7mw-5cq6-fv82"},{"url":"https://github.com/wangfupeng1988/wangEditor","tags":["web"]}],"sources":{"ghsa":[{"id":"GHSA-g7mw-5cq6-fv82","title":"Cross-Site Scripting in wangeditor","description":"All versions of `wangeditor` are vulnerable to Cross-Site Scripting. The package fails to properly encode output, allowing arbitrary JavaScript to be inserted in links and executed by browsers.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","status":"published","published":"2020-09-02T21:20:40Z","modified":"2023-01-09T05:04:05Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:08.267721Z"}],"osv":[{"id":"GHSA-g7mw-5cq6-fv82","title":"Cross-Site Scripting in wangeditor","description":"All versions of `wangeditor` are vulnerable to Cross-Site Scripting. The package fails to properly encode output, allowing arbitrary JavaScript to be inserted in links and executed by browsers.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","status":"published","published":"2020-09-02T21:20:40Z","modified":"2021-09-27T21:00:38Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:47.472172Z"}]}}
