Bug 1831528 (CVE-2020-5267) - CVE-2020-5267 rubygem-actionview: views that use the `j` or `escape_javascript` methods are susceptible to XSS attacks
Summary: CVE-2020-5267 rubygem-actionview: views that use the `j` or `escape_javascrip...
Status: NEW
Alias: CVE-2020-5267
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1831531 1831584 1831599 1831583
Blocks: 1831532
TreeView+ depends on / blocked
Reported: 2020-05-05 07:20 UTC by Marian Rehak
Modified: 2020-05-05 11:11 UTC (History)
31 users (show)

Fixed In Version: rubygem-actionview, rubygem-actionview
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Marian Rehak 2020-05-05 07:20:39 UTC
There is a possible XSS vulnerability in ActionView's JavaScript literal escape helpers. Views that use the `j` or `escape_javascript` methods may be susceptible to XSS attacks.

External Reference:


Comment 1 Marian Rehak 2020-05-05 07:24:47 UTC
Created rubygem-actionview tracking bugs for this issue:

Affects: fedora-all [bug 1831531]

Comment 6 Yadnyawalk Tale 2020-05-05 11:00:06 UTC

Red Hat CloudForms and Satellite ship affected RubyGem actionview with methods, however, those are not vulnerable since none of those uses template string enclosed with backtick characters. A future update may fix affected RubyGem.

Note You need to log in before you can comment on or make changes to this bug.