Possible XSS vulnerability in rails-html-sanitizer

Metadata

medium
4.3
rails-html-sanitizer
CVE-2015-7578
groups.google.com
2016-01-25
2017-06-16 19:16
CVE-2015-7578 ruby-rails-html-sanitizer
CVE-2015-7578
2017-04-01 19:10
2017-01-05 20:15

Description

There is a possible XSS vulnerability in rails-html-sanitizer. This
vulnerability has been assigned the CVE identifier CVE-2015-7578.

Versions Affected: All.
Not affected: None.
Fixed Versions: 1.0.3

Impact
------
There is a possible XSS vulnerability in rails-html-sanitizer. Certain
attributes are not removed from tags when they are sanitized, and these
attributes can lead to an XSS attack on target applications.

All users running an affected release should either upgrade or use one of the
workarounds immediately.

Releases
--------
The FIXED releases are available at the normal locations.

Workarounds
-----------
There are no feasible workarounds for this issue.

Patches
-------
To aid users who aren't able to upgrade immediately we have provided patches for
the two supported release series. They are in git-am format and consist of a
single changeset.

* 1-0-sanitize_data_attributes.patch - Patch for 1.0 series

Credits
-------
Thanks to Ben Murphy and Marien for reporting this.

Am I vulnerable?

The constraints below list the versions that this vulnerability is patched in, and versions that are unaffected. If a patch is ready but unrealeased, then it is pending.

Or, you can just let us figure it out for you! Appcanary continously monitor your installed packages, and tell you if any of them are vulnerable.

Sign up for monitoring

Affected package information

Package Patched in Unaffected in
rails-html-sanitizer ~> 1.0.3 None