{"id":"GHSA-g7mw-5cq6-fv82","summary":"Cross-Site Scripting in wangeditor","details":"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.","modified":"2021-09-27T21:00:38Z","published":"2020-09-02T21:20:40Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:39:03Z","nvd_published_at":null,"cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://github.com/wangfupeng1988/wangEditor/issues/1945"},{"type":"WEB","url":"https://github.com/wangfupeng1988/wangEditor"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-WANGEDITOR-174536"},{"type":"WEB","url":"https://www.npmjs.com/advisories/876"}],"affected":[{"package":{"name":"wangeditor","ecosystem":"npm","purl":"pkg:npm/wangeditor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-g7mw-5cq6-fv82/GHSA-g7mw-5cq6-fv82.json"}}],"schema_version":"1.9.0"}