cbcvebase.
CVE-2020-15169
published 2020-09-11

CVE-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
VendorProductVersion rangeFixed in
action_view_projectaction_view< 5.2.4.45.2.4.4
action_view_projectaction_view>= 6.0.0.0 < 6.0.3.36.0.3.3
debiandebian_linux
debianrails< rails 2:6.0.3.3+dfsg-1 (bookworm)rails 2:6.0.3.3+dfsg-1 (bookworm)
fedoraprojectfedora
railsactionview< 5.2.4.45.2.4.4
railsactionview
railsactionview>= 0 < 5.2.4.45.2.4.4
railsactionview>= 6.0.0.0 < 6.0.3.36.0.3.3
rubyonrailsrails>= 0 < 2:6.0.3.3+dfsg-12:6.0.3.3+dfsg-1
rubyonrailsrails>= 0 < 2:6.0.3.3+dfsg-12:6.0.3.3+dfsg-1
rubyonrailsrails>= 0 < 2:6.0.3.3+dfsg-12:6.0.3.3+dfsg-1
rubyonrailsrails>= 0 < 2:6.0.3.3+dfsg-12: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