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-16T08:23:27.133817Z
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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:00:19Z"
}
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