{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/15625?format=json","vulnerability_id":"VCID-x6wm-6c84-2qdw","summary":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in actionview.","aliases":[{"alias":"CVE-2022-27777"},{"alias":"GHSA-ch3h-j2vf-95pv"},{"alias":"GMS-2022-1138"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/205337?format=json","purl":"pkg:deb/debian/rails@2:6.0.3.7%2Bdfsg-2%2Bdeb11u1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:6.0.3.7%252Bdfsg-2%252Bdeb11u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/205302?format=json","purl":"pkg:deb/debian/rails@2:6.0.3.7%2Bdfsg-2%2Bdeb11u2?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6xgn-ux7r-n3hs"},{"vulnerability":"VCID-fffn-puk6-ebas"},{"vulnerability":"VCID-fffz-javd-v7hb"},{"vulnerability":"VCID-fnhs-6r73-jycb"},{"vulnerability":"VCID-jamx-38p5-s7hd"},{"vulnerability":"VCID-mxde-jpzz-vff8"},{"vulnerability":"VCID-rqch-g7pm-sugv"},{"vulnerability":"VCID-tkka-tsj1-wyc1"},{"vulnerability":"VCID-ykzz-r4nz-mbdv"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:6.0.3.7%252Bdfsg-2%252Bdeb11u2%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/205340?format=json","purl":"pkg:deb/debian/rails@2:6.1.6.1%2Bdfsg-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:6.1.6.1%252Bdfsg-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/205300?format=json","purl":"pkg:deb/debian/rails@2:6.1.7.10%2Bdfsg-1~deb12u2?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6xgn-ux7r-n3hs"},{"vulnerability":"VCID-fffn-puk6-ebas"},{"vulnerability":"VCID-fffz-javd-v7hb"},{"vulnerability":"VCID-fnhs-6r73-jycb"},{"vulnerability":"VCID-jamx-38p5-s7hd"},{"vulnerability":"VCID-mxde-jpzz-vff8"},{"vulnerability":"VCID-rqch-g7pm-sugv"},{"vulnerability":"VCID-tkka-tsj1-wyc1"},{"vulnerability":"VCID-ykzz-r4nz-mbdv"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:6.1.7.10%252Bdfsg-1~deb12u2%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/205304?format=json","purl":"pkg:deb/debian/rails@2:7.2.2.2%2Bdfsg-2~deb13u1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6xgn-ux7r-n3hs"},{"vulnerability":"VCID-fffn-puk6-ebas"},{"vulnerability":"VCID-fffz-javd-v7hb"},{"vulnerability":"VCID-fnhs-6r73-jycb"},{"vulnerability":"VCID-jamx-38p5-s7hd"},{"vulnerability":"VCID-mxde-jpzz-vff8"},{"vulnerability":"VCID-rqch-g7pm-sugv"},{"vulnerability":"VCID-tkka-tsj1-wyc1"},{"vulnerability":"VCID-ykzz-r4nz-mbdv"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:7.2.2.2%252Bdfsg-2~deb13u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/205303?format=json","purl":"pkg:deb/debian/rails@2:7.2.3.1%2Bdfsg-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:7.2.3.1%252Bdfsg-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/60536?format=json","purl":"pkg:gem/actionview@5.2.7.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-fnhs-6r73-jycb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionview@5.2.7.1"},{"url":"http://public2.vulnerablecode.io/api/packages/60537?format=json","purl":"pkg:gem/actionview@6.0.4.8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-fnhs-6r73-jycb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionview@6.0.4.8"},{"url":"http://public2.vulnerablecode.io/api/packages/60538?format=json","purl":"pkg:gem/actionview@6.1.5.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-fnhs-6r73-jycb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionview@6.1.5.1"},{"url":"http://public2.vulnerablecode.io/api/packages/60539?format=json","purl":"pkg:gem/actionview@7.0.2.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-fnhs-6r73-jycb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionview@7.0.2.4"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/60529?format=json","purl":"pkg:gem/actionview@5.2.7.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-x6wm-6c84-2qdw"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionview@5.2.7.0"},{"url":"http://public2.vulnerablecode.io/api/packages/60530?format=json","purl":"pkg:gem/actionview@6.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ajrj-qz9v-27d5"},{"vulnerability":"VCID-fnhs-6r73-jycb"},{"vulnerability":"VCID-m2hq-ycd3-wyds"},{"vulnerability":"VCID-x6wm-6c84-2qdw"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionview@6.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/60531?format=json","purl":"pkg:gem/actionview@6.0.4.7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-fnhs-6r73-jycb"},{"vulnerability":"VCID-x6wm-6c84-2qdw"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionview@6.0.4.7"},{"url":"http://public2.vulnerablecode.io/api/packages/60532?format=json","purl":"pkg:gem/actionview@6.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-fnhs-6r73-jycb"},{"vulnerability":"VCID-x6wm-6c84-2qdw"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionview@6.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/60533?format=json","purl":"pkg:gem/actionview@6.1.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-x6wm-6c84-2qdw"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionview@6.1.5.0"},{"url":"http://public2.vulnerablecode.io/api/packages/60534?format=json","purl":"pkg:gem/actionview@7.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4eqj-r4hp-f7dm"},{"vulnerability":"VCID-fnhs-6r73-jycb"},{"vulnerability":"VCID-x6wm-6c84-2qdw"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionview@7.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/60535?format=json","purl":"pkg:gem/actionview@7.0.2.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-fnhs-6r73-jycb"},{"vulnerability":"VCID-x6wm-6c84-2qdw"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionview@7.0.2.3"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2022-27777","reference_id":"","reference_type":"","scores":[{"value":"0.01409","scoring_system":"epss","scoring_elements":"0.80801","published_at":"2026-05-30T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2022-27777"},{"reference_url":"https://discuss.rubyonrails.org/t/cve-2022-27777-possible-xss-vulnerability-in-action-view-tag-helpers/80534","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://discuss.rubyonrails.org/t/cve-2022-27777-possible-xss-vulnerability-in-action-view-tag-helpers/80534"},{"reference_url":"https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"}],"url":"https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"},{"reference_url":"https://github.com/rails/rails","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/rails/rails"},{"reference_url":"https://github.com/rails/rails/commit/649516ce0feb699ae06a8c5e81df75d460cc9a85","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/rails/rails/commit/649516ce0feb699ae06a8c5e81df75d460cc9a85"},{"reference_url":"https://groups.google.com/g/ruby-security-ann/c/9wJPEDv-iRw","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3","scoring_elements":""},{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://groups.google.com/g/ruby-security-ann/c/9wJPEDv-iRw"},{"reference_url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html"},{"reference_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","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"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"},{"reference_url":"https://www.debian.org/security/2023/dsa-5372","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://www.debian.org/security/2023/dsa-5372"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016982","reference_id":"1016982","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016982"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27777","reference_id":"CVE-2022-27777","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27777"},{"reference_url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2022-27777.yml","reference_id":"CVE-2022-27777.YML","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2022-27777.yml"},{"reference_url":"https://github.com/advisories/GHSA-ch3h-j2vf-95pv","reference_id":"GHSA-ch3h-j2vf-95pv","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-ch3h-j2vf-95pv"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":79,"name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-x6wm-6c84-2qdw"}