原始 OSV JSON{
"id": "GHSA-8v67-x8q5-3x3g",
"aliases": [
"CVE-2018-19048"
],
"details": "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.\n\n\n## Recommendation\n\nUpgrade to version 2.3.22 or later.",
"summary": "Cross-Site Scripting in simditor",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.22"
}
]
}
],
"package": {
"name": "simditor",
"ecosystem": "npm"
}
}
],
"modified": "2021-08-04T14:53:05Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"published": "2019-05-14T04:01:27Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19048",
"type": "ADVISORY"
},
{
"url": "https://github.com/mycolorway/simditor/commit/ef01a643cbb7f8163535d6bfb71135f80ec6a6fd",
"type": "WEB"
},
{
"url": "https://github.com/hkglue/simditor_demo.git",
"type": "WEB"
},
{
"url": "https://github.com/hkglue/simditor_dom_xss/blob/master/README.md",
"type": "WEB"
},
{
"url": "https://github.com/mycolorway/simditor/releases/tag/v2.3.22",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JS-SIMDITOR-174638",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/advisories/884",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2019-05-14T01:08:11Z"
}
}