rails-html-sanitizer: Possible XSS vulnerability with certain configurations
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| rails | rails-html-sanitizer | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Rubyonrails | Rails Html Sanitizers |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-cj75-f6xr-r4g7 | Rails HTML Sanitizers: Possible XSS vulnerability with certain configurations |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.547% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Rubyonrails
Rubyonrails rails Html Sanitizers |
|
| Vendors & Products |
Rubyonrails
Rubyonrails rails Html Sanitizers |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | rails-html-sanitizer: Possible XSS vulnerability with certain configurations | |
| Weaknesses | CWE-79 | |
| References |
|
|
| Metrics |
cvssV4_0
|