4.8
CVSSv3

CVE-2020-5267

Published: 19/03/2020 Updated: 07/11/2023
CVSS v2 Base Score: 3.5 | Impact Score: 2.9 | Exploitability Score: 6.8
CVSS v3 Base Score: 4.8 | Impact Score: 2.7 | Exploitability Score: 1.7
VMScore: 312
Vector: AV:N/AC:M/Au:S/C:N/I:P/A:N

Vulnerability Summary

In ActionView prior to 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.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

rubyonrails actionview

debian debian linux 8.0

fedoraproject fedora 33

opensuse leap 15.1

Vendor Advisories

Synopsis Important: Satellite 68 release Type/Severity Security Advisory: Important Topic An update is now available for Red Hat Satellite 68 for RHEL 7Red Hat Product Security has rated this update as having a security impactof Important A Common Vulnerability Scoring System (CVSS) base score,which giv ...
Debian Bug report logs - #954304 rails: CVE-2020-5267: Possible XSS vulnerability in ActionView Package: src:rails; Maintainer for src:rails is Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@listsaliothdebianorg>; Reported by: Salvatore Bonaccorso <carnil@debianorg> Date: Thu, 19 Mar 2020 21:15:01 UTC ...

Mailing Lists

<!--X-Body-Begin--> <!--X-User-Header--> oss-sec mailing list archives <!--X-User-Header-End--> <!--X-TopPNI--> By Date By Thread </form> <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> [CVE-2020-5267] Possible XSS vulnerability in ActionView <!--X-Subject-Header-End--> <!--X-Head-of-Message--> From: Aaron Pa ...

Github Repositories

Patch CVE-2020-5267 for Rails 4 and Rails 3

legacy-rails-CVE-2020-5267-patch A patch for CVE-2020-5267 for Rails 4 and Rails 3 Upgrading Rails would definitely be better, but in the meantime if you're stuck on older versions of Rails, this provides the monkey patch noted in the security advisory packaged and tested as a gem Installation Add this line to your application's Gemfile: gem 'legacy-rails-CVE-

run code quality and security audit report with one command

CodeQuality Run code quality and security audit report with one command code_quality Principle If you can’t measure it, you can’t improve it Installation gem install code_quality Or add this line to your application's Gemfile: group :development do gem 'code_quality' end