原始 OSV JSON{
"id": "GHSA-46m8-42hm-wvvw",
"aliases": [
"CVE-2016-1000231"
],
"details": "Affected versions of `emojione` are vulnerable to cross-site scripting when user input is passed into the `toShort()`, `shortnameToImage()`, `unicodeToImage()`, and `toImage()` functions.\n\n\n\n## Recommendation\n\nUpdate to version 1.3.1 or later.",
"summary": "Cross-Site Scripting in emojione",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.3.1"
}
]
}
],
"package": {
"name": "emojione",
"ecosystem": "npm"
},
"database_specific": {
"last_known_affected_version_range": "<= 1.3.0"
}
}
],
"modified": "2021-09-23T21:33:00Z",
"severity": [],
"published": "2020-09-01T15:34:16Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-1000231",
"type": "ADVISORY"
},
{
"url": "https://github.com/Ranks/emojione/issues/61",
"type": "WEB"
},
{
"url": "https://github.com/joypixels/emojione/commit/613079b16c00e47fb3c44744a67ed88a9295afb1",
"type": "WEB"
},
{
"url": "https://github.com/Ranks/emojione",
"type": "WEB"
},
{
"url": "https://github.com/joypixels/emojione/commits/v1.3.1",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-08-31T18:11:50Z"
}
}