Описание
Cross-Site Scripting in simditor
Versions of simditor prior to 2.3.22 are vulnerable to Cross-Site Scripting. The package does not sanitize user input that is rendered with innerHTML, allowing attackers to execute arbitrary JavaScript.
Recommendation
Upgrade to version 2.3.22 or later.
Ссылки
- https://nvd.nist.gov/vuln/detail/CVE-2018-19048
- https://github.com/mycolorway/simditor/commit/ef01a643cbb7f8163535d6bfb71135f80ec6a6fd
- https://github.com/hkglue/simditor_demo.git
- https://github.com/hkglue/simditor_dom_xss/blob/master/README.md
- https://github.com/mycolorway/simditor/releases/tag/v2.3.22
- https://snyk.io/vuln/SNYK-JS-SIMDITOR-174638
- https://www.npmjs.com/advisories/884
Пакеты
Наименование
simditor
npm
Затронутые версииВерсия исправления
< 2.3.22
2.3.22
Связанные уязвимости
CVSS3: 6.1
nvd
больше 6 лет назад
Simditor through 2.3.21 allows DOM XSS via an onload attribute within a malformed SVG element.