Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.
{
"github_reviewed_at": "2020-06-16T21:59:02Z",
"nvd_published_at": "2015-07-26T22:59:05Z",
"github_reviewed": true,
"severity": "MODERATE",
"cwe_ids": [
"CWE-79"
]
}