5.1
Moyenne
CVE-2026-73648 rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications
Description
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. From 1.0.3 until 1.7.1, Rails::HTML::PermitScrubber restricted SVG reference elements in SVG_ALLOW_LOCAL_HREF only when they used xlink:href, even though browsers also accept the plain href attribute. Applications with non-default allowed tags that included SVG use or feImage elements could therefore permit external references; a same-origin external SVG referenced by use could execute scripts in the sanitized document's context, while feImage could load external images for tracking. Applications using the default allowed tags are not affected. This issue is fixed in version 1.7.1.
Produits et versions touchés
| Produit | Versions touchées | Corrigé en |
|---|---|---|
| rails-html-sanitizer 1.0 | 1.0.3 → < 1.7.1 | 1.7.1 |
Références
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
Chronologie
- Publiée
- Dernière modification
Autres CVE de rails-html-sanitizer
Les 11 CVE de rails-html-sanitizer →
CVE-2024-53985
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications
2.3
Faible
CVE-2024-53987
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications
2.3
Faible
CVE-2024-53986
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications
2.3
Faible
CVE-2024-53988
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications
2.3
Faible