Skip to content
Fencer Intel
medium 6.1

CVE-2015-7579 json

rails-html-sanitizer Cross-site Scripting vulnerability

published 2016-02-16 10 y ago modified 2026-06-17 4 mo ago also GHSA-r9c2-cr39-c8g6 , EUVD-2017-0299

cvss
6.1
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.6%
EPSS 2.6% chance of exploitation in 30 days, percentile 85%
public exploits
0
none known

Summary

Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem 1.0.2 for Ruby on Rails 4.2.x and 5.x allows remote attackers to inject arbitrary web script or HTML via an HTML entity that is mishandled by the Rails::Html::FullSanitizer class.

Patch / fix

  • rubygems rails-html-sanitizer 1.0.3
  • ruby-rails-html-sanitizer Debian 14, Debian 13, Debian 12 1.0.3-1

debian advisories DEBIAN-CVE-2015-7579

  • portus SLE Module for Containers 12 2.0.3-2.4
  • rubygem-rails-html-sanitizer Enterprise Storage 2.1 1.0.2-7.1

suse advisories SUSE-SU-2016:1146-1SUSE-SU-2016:0391-1

  • rubygem-rails-html-sanitizer openSUSE Tumbleweed 1.6.0-1.9
  • rubygem-rails-html-sanitizer openSUSE Tumbleweed 1.6.0-1.7
  • rubygem-rails-html-sanitizer openSUSE Tumbleweed 1.6.0-1.5
  • rubygem-rails-html-sanitizer openSUSE Tumbleweed 1.4.3-1.1
  • ruby3.2-rubygem-rails-html-sanitizer openSUSE Tumbleweed 1.5.0-2.1

opensuse advisories openSUSE-SU-2026:10361-1openSUSE-SU-2025:15125-1openSUSE-SU-2024:14175-1openSUSE-SU-2024:12145-1openSUSE-SU-2024:13137-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-7579 updated cvss 4.3

rubygem-rails-html-sanitizer: XSS vulnerability in Action View's strip_tags function

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.58% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.0 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
rubygems rails-html-sanitizer
<1.0.3
1.0.3

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.