{"id":"CVE-2022-22577","published":"2022-05-26T00:00:00Z","modified":"2024-08-03T03:14:55Z","title":"An XSS Vulnerability in Action Pack >= 5.2.0 and < 5.2.0 that could allow an attacker to bypass CSP for non HTML like…","vendor":null,"product":null,"tier":"tail","description":{"text":"An XSS Vulnerability in Action Pack >= 5.2.0 and < 5.2.0 that could allow an attacker to bypass CSP for non HTML like responses.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01826,"percentile":0.79245,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://discuss.rubyonrails.org/t/cve-2022-22577-possible-xss-vulnerability-in-action-pack/80533","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html","tags":["mailing-list"]},{"url":"https://security.netapp.com/advisory/ntap-20221118-0002/","tags":[]},{"url":"https://www.debian.org/security/2023/dsa-5372","tags":["vendor-advisory"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":15.85}]},"affectedVersions":[{"vendor":"n/a","product":"https://github.com/rails/rails","versions":["7.0.2.4, 6.1.5.1, 6.0.4.8, 5.2.7.1"]}],"affected":[{"ecosystem":"RubyGems","package":"actionpack","vulnerableRanges":[">=5.2.0, <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"],"patched":["5.2.7.1","6.0.4.8","6.1.5.1","7.0.2.4"],"from":["GHSA-mm33-5vfq-3mm3"],"provenance":"source"}],"summary":{"text":"An XSS flaw in the Action Pack component of Ruby on Rails allows scripts to be injected into responses.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:10Z"},"euvd":{"id":"EUVD-2022-1786","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-rails-cve-2022-22577","children":[{"from":"CVE-2022-22577","to":"CVE-2024-54133","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["actionpack/lib/action_dispatch/http/content_security_policy.rb"],"commits":["https://github.com/rails/rails/commit/2b820a2a69fa50cffa74b4aedc57bf92ed6910ec","https://github.com/rails/rails/commit/5299b57d596ea274f77f5ffee2b79c6ee0255508","https://github.com/rails/rails/commit/2e3f41e4538b9ca1044357f6644f037bbb7c6c49","https://github.com/rails/rails/commit/3da2479cfe1e00177114b17e496213c40d286b3a"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.42,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2021-22942","published":"2021-10-18","fixed":"6.1.4.1","kev":false},{"cve":"CVE-2021-44528","published":"2022-01-07","fixed":"6.1.4.2","kev":false},{"cve":"CVE-2022-23633","published":"2022-02-11","fixed":"7.0.2.2","kev":false,"link":{"from":"CVE-2022-23633","to":"CVE-2022-22577","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"5.2.6.2","toFixed":"5.2.7.1","daysApart":104},{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"6.0.4.6","toFixed":"6.0.4.8","daysApart":104}]}},{"cve":"CVE-2022-22577","published":"2022-05-26","fixed":"7.0.2.4","kev":false},{"cve":"CVE-2023-22792","published":"2023-02-09","fixed":"7.0.4.1","kev":false,"link":{"from":"CVE-2022-22577","to":"CVE-2023-22792","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"5.2.7.1","toFixed":"5.2.8.15","daysApart":259},{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"6.1.5.1","toFixed":"6.1.7.1","daysApart":259}]}},{"cve":"CVE-2023-22795","published":"2023-02-09","fixed":"7.0.4.1","kev":false,"link":{"from":"CVE-2022-22577","to":"CVE-2023-22795","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"6.1.5.1","toFixed":"6.1.7.1","daysApart":259},{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"7.0.2.4","toFixed":"7.0.4.1","daysApart":259}]}},{"cve":"CVE-2023-22797","published":"2023-02-09","fixed":"7.0.4.1","kev":false,"link":{"from":"CVE-2022-22577","to":"CVE-2023-22797","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"7.0.2.4","toFixed":"7.0.4.1","daysApart":259}]}}],"package":"RubyGems:actionpack"}}