In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.
Start learningUpgrade emojione
to at least version 1.3.1
.
emojione
is a module supporting an open list of emojis, replacing shortcodes with the corresponding image.
While this package doesn't control this decision, emoji shortcodes are typically provided by users as part of some interaction or comment, and often persist on the page. Therefore, sanitizing them to prevent scripts is critical.
While emojione
does sanitize passed in shortcodes before echoing back the resulting values, a clever sequence of encoded values will still allow attackers to inject scripts into the result. As a result, attacker can perform a Cross-site Scripting (XSS) attack whenever the output of emojione
is passed into the page output.
<>