sanitize 2.0.4

1 security vulnerability found in version 2.0.4

HTML injection/XSS in Sanitize

high severity CVE-2018-3740
high severity CVE-2018-3740
Patched versions: ~> 2.1.1, >= 4.6.3
Unaffected versions: < 1.1.0

When Sanitize gem is used in combination with libxml2 >= 2.9.2, a specially crafted HTML fragment can cause libxml2 to generate improperly escaped output, allowing non-whitelisted attributes to be used on whitelisted elements.

This can allow HTML and JavaScript injection, which could result in XSS if Sanitize's output is served to browsers.

No officially reported memory leakage issues detected.


This gem version does not have any officially reported memory leaked issues.

Author did not declare license for this gem in the gemspec.


This gem version has a MIT license in the source code, however it was not declared in the gemspec file.

This gem version is available.


This gem version has not been yanked and is still available for usage.