CVE-2015-7578
published 2016-02-16CVE-2015-7578: Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem before 1.0.3 for Ruby on Rails 4.2.x and 5.x allows remote attackers to inject…
PriorityP426medium6.1CVSS 3.0
AVNACLPRNUIRSCCLILAN
EPSS
2.48%
82.6th percentile
Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem before 1.0.3 for Ruby on Rails 4.2.x and 5.x allows remote attackers to inject arbitrary web script or HTML via crafted tag attributes.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | ruby-rails-html-sanitizer | < ruby-rails-html-sanitizer 1.0.3-1 (bookworm) | ruby-rails-html-sanitizer 1.0.3-1 (bookworm) |
| rails | rails-html-sanitizer | >= 0 < 1.0.3 | 1.0.3 |
| rubyonrails | html_sanitizer | <= 1.0.2 | — |
CVSS provenance
nvdv3.06.1MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv6.1MEDIUM
vendor_debian6.1MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2015-7578: ruby-rails-html-sanitizer - Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem before ...
vendor_debian·2015·CVSS 6.1
CVE-2015-7578 [MEDIUM] CVE-2015-7578: ruby-rails-html-sanitizer - Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem before ...
Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem before 1.0.3 for Ruby on Rails 4.2.x and 5.x allows remote attackers to inject arbitrary web script or HTML via crafted tag attributes.
Scope: local
bookworm: resolved (fixed in 1.0.3-1)
bullseye: resolved (fixed in 1.0.3-1)
forky: resolved (fixed in 1.0.3-1)
sid: resolved (fixed in 1.0.3-1)
trixie: resolved (fixed in 1.0.3-1)
OSV
rails-html-sanitizer Cross-site Scripting vulnerability
osv·2017-10-24
CVE-2015-7578 [MEDIUM] rails-html-sanitizer Cross-site Scripting vulnerability
rails-html-sanitizer Cross-site Scripting vulnerability
Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem before 1.0.3 for Ruby on Rails 4.2.x and 5.x allows remote attackers to inject arbitrary web script or HTML via crafted tag attributes.
GHSA
rails-html-sanitizer Cross-site Scripting vulnerability
ghsa·2017-10-24
CVE-2015-7578 [MEDIUM] CWE-79 rails-html-sanitizer Cross-site Scripting vulnerability
rails-html-sanitizer Cross-site Scripting vulnerability
Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem before 1.0.3 for Ruby on Rails 4.2.x and 5.x allows remote attackers to inject arbitrary web script or HTML via crafted tag attributes.
OSV
CVE-2015-7578: Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem before 1
osv·2016-02-16·CVSS 6.1
CVE-2015-7578 [MEDIUM] CVE-2015-7578: Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem before 1
Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem before 1.0.3 for Ruby on Rails 4.2.x and 5.x allows remote attackers to inject arbitrary web script or HTML via crafted tag attributes.
No detection rules found.
No public exploits indexed.
HackerOne
Data-Tags and the New HTML Sanitizer Subverts CSRF protection
hackerone·2016-03-13·CVSS 6.1
CVE-2015-7578 [MEDIUM] Data-Tags and the New HTML Sanitizer Subverts CSRF protection
Data-Tags and the New HTML Sanitizer Subverts CSRF protection
Possible XSS vulnerability in rails-html-sanitizer
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
Bugzilla
CVE-2015-7578 rubygem-rails-html-sanitizer: ruby: XSS vulnerability in rails-html-sanitizer [fedora-all]
bugzilla·2016-01-26·CVSS 6.1
CVE-2015-7578 [MEDIUM] CVE-2015-7578 rubygem-rails-html-sanitizer: ruby: XSS vulnerability in rails-html-sanitizer [fedora-all]
CVE-2015-7578 rubygem-rails-html-sanitizer: ruby: XSS vulnerability in rails-html-sanitizer [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects mult
Bugzilla
CVE-2015-7578 rails-html-sanitizer: XSS vulnerability due to unremoved attributes from tags
bugzilla·2016-01-26·CVSS 6.1
CVE-2015-7578 [MEDIUM] CVE-2015-7578 rails-html-sanitizer: XSS vulnerability due to unremoved attributes from tags
CVE-2015-7578 rails-html-sanitizer: XSS vulnerability due to unremoved attributes from tags
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.
Upstream bug report:
https://groups.google.com/forum/#!topic/rubyonrails-security/uh--W4TDwmI
External reference:
http://weblog.rubyonrails.org/2016/1/25/Rails-5-0-0-beta1-1-4-2-5-1-4-1-14-1-3-2-22-1-and-rails-html-sanitizer-1-0-3-have-been-released/
Discussion:
Created rubygem-rails-html-sanitizer tracking bugs for this issue:
Affects: fedora-all [bug 1301921]
---
rubygem-rails-html-sanitizer-1.0.1-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, pleas
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178046.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2016-February/178064.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00014.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00024.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.htmlhttp://www.openwall.com/lists/oss-security/2016/01/25/11http://www.securitytracker.com/id/1034816https://github.com/rails/rails-html-sanitizer/commit/297161e29a3e11186ce4c02bf7defc088bf544d4https://groups.google.com/forum/message/raw?msg=ruby-security-ann/uh--W4TDwmI/ygHE7hlZEgAJhttp://lists.fedoraproject.org/pipermail/package-announce/2016-February/178046.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2016-February/178064.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00014.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00024.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.htmlhttp://www.openwall.com/lists/oss-security/2016/01/25/11http://www.securitytracker.com/id/1034816https://github.com/rails/rails-html-sanitizer/commit/297161e29a3e11186ce4c02bf7defc088bf544d4https://groups.google.com/forum/message/raw?msg=ruby-security-ann/uh--W4TDwmI/ygHE7hlZEgAJ
2016-02-16
Published