{"id":"GHSA-46m8-42hm-wvvw","summary":"Cross-Site Scripting in emojione","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.","aliases":["CVE-2016-1000231"],"modified":"2023-11-08T03:58:07.846391Z","published":"2020-09-01T15:34:16Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-08-31T18:11:50Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-1000231"},{"type":"WEB","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"}],"affected":[{"package":{"name":"emojione","ecosystem":"npm","purl":"pkg:npm/emojione"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-46m8-42hm-wvvw/GHSA-46m8-42hm-wvvw.json","last_known_affected_version_range":"\u003c= 1.3.0"}}],"schema_version":"1.9.0"}