{"id":"CVE-2015-7578","published":"2016-02-16T02:00:00Z","modified":"2024-08-06T07:51:28Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02476,"percentile":0.84944,"provenance":"source"},"cwes":[],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178046.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.openwall.com/lists/oss-security/2016/01/25/11","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://github.com/rails/rails-html-sanitizer/commit/297161e29a3e11186ce4c02bf7defc088bf544d4","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1034816","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://groups.google.com/forum/message/raw?msg=ruby-security-ann/uh--W4TDwmI/ygHE7hlZEgAJ","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178064.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00024.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00014.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":16.99}]},"affected":[{"ecosystem":"RubyGems","package":"rails-html-sanitizer","vulnerableRanges":["<1.0.3"],"patched":["1.0.3"],"from":["GHSA-59c7-4xj2-hgvw"],"provenance":"source"}],"summary":{"text":"The rails-html-sanitizer gem, before version 1.0.3 and used with Ruby on Rails 4.2.x and 5.x, contains a cross-site scripting flaw in its HTML sanitization. An attacker who can supply crafted tag attributes to content processed by the sanitizer can inject arbitrary web script or HTML, with no authentication or user interaction stated as required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:57Z"},"euvd":{"id":"EUVD-2017-0169","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-rails-html-sanitizer-cve-2015-7578","children":[{"from":"CVE-2015-7578","to":"CVE-2024-53988","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/rails/html/scrubbers.rb"],"commits":["https://github.com/rails/rails-html-sanitizer/commit/297161e29a3e11186ce4c02bf7defc088bf544d4","https://github.com/rails/rails-html-sanitizer/commit/a0a3e8b76b696446ffc6bffcff3bc7b7c6393c72"],"basis":"shared function","functions":["validate"]}]},{"from":"CVE-2015-7578","to":"CVE-2024-53989","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/rails/html/scrubbers.rb"],"commits":["https://github.com/rails/rails-html-sanitizer/commit/297161e29a3e11186ce4c02bf7defc088bf544d4","https://github.com/rails/rails-html-sanitizer/commit/16251735e36ebdc302e2f90f2a39cad56879414f"],"basis":"shared function","functions":["validate"]}]},{"from":"CVE-2015-7578","to":"CVE-2026-128068","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/rails/html/scrubbers.rb"],"commits":["https://github.com/rails/rails-html-sanitizer/commit/297161e29a3e11186ce4c02bf7defc088bf544d4","https://github.com/rails/rails-html-sanitizer/commit/f776f963b9d9346271aade9cb903e793fd38e865"],"basis":"shared function","functions":["validate"]}]}]}}