{"id":"GHSA-g7mw-5cq6-fv82","aliases":["GHSA-g7mw-5cq6-fv82"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting in wangeditor","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-09-02T21:20:40.000Z","modified":"2021-09-27T21:00:38.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"npm","package":"wangeditor","purl":"pkg:npm/wangeditor","source":"ghsa"}],"references":[{"url":"https://github.com/wangfupeng1988/wangEditor/issues/1945","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/wangfupeng1988/wangEditor","tags":["web"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JS-WANGEDITOR-174536","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/876","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g7mw-5cq6-fv82","url":"https://github.com/advisories/GHSA-g7mw-5cq6-fv82","licence":"CC-BY-4.0","modified":"2021-09-27T21:00:38.000Z"}],"updatedAt":"2026-11-25T22:56:45.393Z"}