CVE-2020-5267
MEDIUMActionView < 5.2.4.2 - Cross-Site Scripting via JavaScript Literal Escape Helpers
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2020-5267. PoCs published by GUI.
AI-analyzed exploit summary This repository provides a patch for CVE-2020-5267, a vulnerability in Rails 4 and Rails 3 related to insufficient escaping in JavaScript helper methods. It includes a monkey patch to address the issue by extending the JS_ESCAPE_MAP to handle backticks and dollar signs, along with tests to verify the fix.
Description
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.
Exploits (1)
This repository provides a patch for CVE-2020-5267, a vulnerability in Rails 4 and Rails 3 related to insufficient escaping in JavaScript helper methods. It includes a monkey patch to address the issue by extending the JS_ESCAPE_MAP to handle backticks and dollar signs, along with tests to verify the fix.
References (6)
Scores
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N