CVE-2024-53989: rails-html-sanitizer has XSS vulnerability with certain configurations
(updated )
There is a possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer 1.6.0 when used with Rails >= 7.1.0.
- Versions affected: 1.6.0
- Not affected: < 1.6.0
- Fixed versions: 1.6.1
References
- github.com/advisories/GHSA-rxv5-gxqc-xx8g
- github.com/rails/rails-html-sanitizer
- github.com/rails/rails-html-sanitizer/commit/16251735e36ebdc302e2f90f2a39cad56879414f
- github.com/rails/rails-html-sanitizer/security/advisories/GHSA-rxv5-gxqc-xx8g
- github.com/rubysec/ruby-advisory-db/blob/master/gems/rails-html-sanitizer/CVE-2024-53989.yml
- nvd.nist.gov/vuln/detail/CVE-2024-53989
Code Behaviors & Features
Detect and mitigate CVE-2024-53989 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →