{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-27777","id":"CVE-2022-27777","title":"XSS Vulnerability in Action View tag helpers","description":"A XSS Vulnerability in Action View tag helpers >= 5.2.0 and < 5.2.0 which would allow an attacker to inject content if able to control input into specific attributes.","descriptionLong":"A XSS Vulnerability in Action View tag helpers >= 5.2.0 and < 5.2.0 which would allow an attacker to inject content if able to control input into specific attributes.","published":"2022-05-26T00:00:00.000Z","updated":"2026-06-17T04:37:29.363Z","reserved":"2022-03-23T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["https://github.com/rails/rails"],"affectedProducts":[{"vendor":"n/a","product":"https://github.com/rails/rails","defaultStatus":null,"versions":[{"version":"7.0.2.4, 6.1.5.1, 6.0.4.8, 5.2.7.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"actionview","purl":"pkg:gem/actionview","ranges":["<5.2.7.1",">=6.0.0 <6.0.4.8",">=6.1.0 <6.1.5.1",">=7.0.0 <7.0.2.4"],"fixed":["5.2.7.1","6.0.4.8","6.1.5.1","7.0.2.4"],"advisory":"GHSA-ch3h-j2vf-95pv"}],"cwes":["CWE-79"],"aliases":["GHSA-ch3h-j2vf-95pv"],"references":[{"url":"https://discuss.rubyonrails.org/t/cve-2022-27777-possible-xss-vulnerability-in-action-view-tag-helpers/80534","tags":["x_transferred","Exploit","Patch","Vendor Advisory","fix","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://www.debian.org/security/2023/dsa-5372","tags":["vendor-advisory","x_transferred","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27777","tags":["advisory"]},{"url":"https://github.com/rails/rails/commit/649516ce0feb699ae06a8c5e81df75d460cc9a85","tags":["web"]},{"url":"https://github.com/rails/rails","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2022-27777.yml","tags":["web"]},{"url":"https://groups.google.com/g/ruby-security-ann/c/9wJPEDv-iRw","tags":["web"]},{"url":"https://rubyonrails.org/2022/4/26/Rails-7-0-2-4-6-1-5-1-6-0-4-8-and-5-2-7-1-have-been-released","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01665,"epssPercentile":0.77238,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-27777","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27777","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-27777","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-ch3h-j2vf-95pv","ok":true,"note":"GHSA-ch3h-j2vf-95pv"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-27777","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["ruby"],"critical":[],"attention":null}