CVE details
CVE-2020-5267
In ActionView before versions 6.0.2.2 and 5.2.4.2, 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. The issue is fixed in versions 6.0.2.2 and 5.2.4.2.
- Score
- 4.0 medium
- Published
- 2020-03-19
- Links
- NVD · cve.org · Report wrong data
Matched ports (3)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| devel/rubygem-actionview5 | rubygem-actionview5 | 5.1.7 | unaddressed | sunpoet@FreeBSD.org |
| devel/rubygem-actionview50 | rubygem-actionview50 | 5.0.7.2 | unaddressed | sunpoet@FreeBSD.org |
| devel/rubygem-actionview4 | rubygem-actionview4 | 4.2.11.3 | possibly backported | sunpoet@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>rubygem-actionview5</name>
<range><lt>5.2.4.2</lt></range>
</package>
<package>
<name>rubygem-actionview50</name>
<range><lt>5.2.4.2</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>In ActionView before versions 6.0.2.2 and 5.2.4.2, 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. The issue is fixed in versions 6.0.2.2 and
5.2.4.2.</p>
</body>
</description>
<references>
<cvename>CVE-2020-5267</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2020-5267</url>
</references>
<dates>
<discovery>2020-03-19</discovery>
<entry>2026-10-26</entry>
</dates>
</vuln>