GHSA-r9c2-cr39-c8g6

Suggest an improvement
Source
https://github.com/advisories/GHSA-r9c2-cr39-c8g6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-r9c2-cr39-c8g6/GHSA-r9c2-cr39-c8g6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-r9c2-cr39-c8g6
Aliases
Published
2017-10-24T18:33:36Z
Modified
2023-11-08T03:58:01.042173Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
rails-html-sanitizer Cross-site Scripting vulnerability
Details

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.

References

Affected packages

RubyGems / rails-html-sanitizer

Package

Name
rails-html-sanitizer
Purl
pkg:gem/rails-html-sanitizer

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.3

Affected versions

1.*

1.0.0
1.0.1
1.0.2