Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTh2NjcteDhxNS0zeDNn
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.
Permalink: https://github.com/advisories/GHSA-8v67-x8q5-3x3gJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTh2NjcteDhxNS0zeDNn
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 5 years ago
Updated: almost 2 years ago
CVSS Score: 6.1
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Identifiers: GHSA-8v67-x8q5-3x3g, CVE-2018-19048
References:
- https://nvd.nist.gov/vuln/detail/CVE-2018-19048
- https://github.com/hkglue/simditor_demo.git
- https://github.com/hkglue/simditor_dom_xss/blob/master/README.md
- https://github.com/mycolorway/simditor/commit/ef01a643cbb7f8163535d6bfb71135f80ec6a6fd
- https://github.com/mycolorway/simditor/releases/tag/v2.3.22
- https://snyk.io/vuln/SNYK-JS-SIMDITOR-174638
- https://www.npmjs.com/advisories/884
- https://github.com/advisories/GHSA-8v67-x8q5-3x3g
Blast Radius: 14.2
Affected Packages
npm:simditor
Dependent packages: 37Dependent repositories: 213
Downloads: 911 last month
Affected Version Ranges: < 2.3.22
Fixed in: 2.3.22
All affected versions: 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.8, 2.1.9, 2.1.10, 2.1.11, 2.1.12, 2.1.13, 2.1.14, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.3.1, 2.3.2, 2.3.4, 2.3.5, 2.3.6, 2.3.18, 2.3.19, 2.3.21
All unaffected versions: 2.3.22, 2.3.23, 2.3.24, 2.3.25, 2.3.26, 2.3.27, 2.3.28