Description
The cross-site scripting (XSS) prevention feature in Ruby on Rails 2.x before 2.3.12, 3.0.x before 3.0.8, and 3.1.x before 3.1.0.rc2 does not properly handle mutation of safe buffers, which makes it easier for remote attackers to conduct XSS attacks via crafted strings to an application that uses a problematic string method, as demonstrated by the sub method.
Remediation
References
Related Vulnerabilities
phpMyAdmin Resource Management Errors Vulnerability (CVE-2016-6622)
WordPress Plugin DW Question & Answer Security Bypass (1.2.9)
Ruby on Rails Use of Externally-Controlled Format String Vulnerability (CVE-2013-4389)
Drupal Improper Input Validation Vulnerability (CVE-2019-6342)
WordPress Plugin Front End Upload Arbitrary File Upload (0.5.4.4)