GitHub Advisoryadvisory · npm
GHSA-8v67-x8q5-3x3g Cross-Site Scripting in simditor
MEDIUM
Official page ↗
- Aliases
- CVE-2018-19048
- Ecosystem
- npm
- Packages
- simditor
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2019-05-14
Affected packages
• npm simditor: < 2.3.22 → fixed in 2.3.22
Description
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.
Related
Alias · CVE (1)
- CVE-2018-19048 Simditor through 2.3.21 allows DOM XSS via an onload attribute within a malformed SVG element. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-19048 advisory
- https://github.com/mycolorway/simditor/commit/ef01a643cbb7f8163535d6bfb71135f80ec6a6fd web
- https://github.com/hkglue/simditor_demo.git web
- https://github.com/hkglue/simditor_dom_xss/blob/master/README.md web
- https://github.com/mycolorway/simditor/releases/tag/v2.3.22 web
- https://snyk.io/vuln/SNYK-JS-SIMDITOR-174638 web
- https://www.npmjs.com/advisories/884 web