GHSA-59c7-4xj2-hgvw

Suggest an improvement
Source
https://github.com/advisories/GHSA-59c7-4xj2-hgvw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-59c7-4xj2-hgvw/GHSA-59c7-4xj2-hgvw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-59c7-4xj2-hgvw
Aliases
Published
2017-10-24T18:33:36Z
Modified
2024-02-16T05:18:55.144637Z
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 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.

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