CVE-2020-15169
published 2020-09-11CVE-2020-15169: In Action View before versions 5.2.4.4 and 6.0.3.3 there is a potential Cross-Site Scripting (XSS) vulnerability in Action View's translation helpers. Views…
medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
In Action View before versions 5.2.4.4 and 6.0.3.3 there is a potential Cross-Site Scripting (XSS) vulnerability in Action View's translation helpers. Views that allow the user to control the default (not found) value of the `t` and `translate` helpers could be susceptible to XSS attacks. When an HTML-unsafe string is passed as the default for a missing translation key named html or ending in _html, the default string is incorrectly marked as HTML-safe and not escaped. This is patched in versions 6.0.3.3 and 5.2.4.4. A workaround without upgrading is proposed in the source advisory.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| action_view_project | action_view | < 5.2.4.4 | 5.2.4.4 |
| action_view_project | action_view | >= 6.0.0.0 < 6.0.3.3 | 6.0.3.3 |
| debian | debian_linux | — | — |
| debian | rails | < rails 2:6.0.3.3+dfsg-1 (bookworm) | rails 2:6.0.3.3+dfsg-1 (bookworm) |
| fedoraproject | fedora | — | — |
| rails | actionview | < 5.2.4.4 | 5.2.4.4 |
| rails | actionview | — | — |
| rails | actionview | >= 0 < 5.2.4.4 | 5.2.4.4 |
| rails | actionview | >= 6.0.0.0 < 6.0.3.3 | 6.0.3.3 |
| rubyonrails | rails | >= 0 < 2:6.0.3.3+dfsg-1 | 2:6.0.3.3+dfsg-1 |
| rubyonrails | rails | >= 0 < 2:6.0.3.3+dfsg-1 | 2:6.0.3.3+dfsg-1 |
| rubyonrails | rails | >= 0 < 2:6.0.3.3+dfsg-1 | 2:6.0.3.3+dfsg-1 |
| rubyonrails | rails | >= 0 < 2:6.0.3.3+dfsg-1 | 2:6.0.3.3+dfsg-1 |
CVSS provenance
nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
osv6.1MEDIUM