{"id":"CVE-2016-1000231","aliases":["GHSA-46m8-42hm-wvvw"],"status":"published","title":"Cross-Site Scripting in emojione","description":"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.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2020-09-01T15:34:16Z","modified":"2023-11-08T03:58:07Z","fixes":[{"ecosystem":"npm","package":"emojione","fixed_in":["1.3.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"emojione","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.3.0"},{"fixed":"1.3.1"}]}]},{"source":"osv","ecosystem":"npm","package":"emojione","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.1"}]}]}],"references":[{"url":"https://github.com/Ranks/emojione/issues/61","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-1000231","tags":["advisory"]},{"url":"https://github.com/joypixels/emojione/commit/613079b16c00e47fb3c44744a67ed88a9295afb1","tags":["web"]},{"url":"https://github.com/joypixels/emojione/commits/v1.3.1/"},{"url":"https://github.com/advisories/GHSA-46m8-42hm-wvvw"},{"url":"https://github.com/Ranks/emojione","tags":["web"]},{"url":"https://github.com/joypixels/emojione/commits/v1.3.1","tags":["web"]}],"sources":{"ghsa":[{"id":"GHSA-46m8-42hm-wvvw","title":"Cross-Site Scripting in emojione","description":"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.","status":"published","published":"2020-09-01T15:34:16Z","modified":"2023-03-28T22:18:39Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:48.905887Z"}],"osv":[{"id":"GHSA-46m8-42hm-wvvw","title":"Cross-Site Scripting in emojione","description":"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.","status":"published","published":"2020-09-01T15:34:16Z","modified":"2023-11-08T03:58:07.846391Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:36.434231Z"}]}}
