{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/52655?format=json","vulnerability_id":"VCID-wxfr-bs81-augc","summary":"Improper neutralization of data URIs may allow XSS in rails-html-sanitizer\n## Summary\n\nrails-html-sanitizer `>= 1.0.3, < 1.4.4` is vulnerable to cross-site scripting via data URIs when used in combination with Loofah `>= 2.1.0`.\n\n\n## Mitigation\n\nUpgrade to rails-html-sanitizer `>= 1.4.4`.\n\n\n## Severity\n\nThe maintainers have evaluated this as [Medium Severity 6.1](https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).\n\n\n## References\n\n- [CWE - CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (4.9)](https://cwe.mitre.org/data/definitions/79.html)\n- [SVG MIME Type (image/svg+xml) is misleading to developers · Issue #266 · w3c/svgwg](https://github.com/w3c/svgwg/issues/266)\n- https://github.com/rails/rails-html-sanitizer/issues/135\n- https://hackerone.com/reports/1694173\n\n\n## Credit\n\nThis vulnerability was independently reported by Maciej Piechota (@haqpl) and Mrinmoy Das (@goromlagche).","aliases":[{"alias":"CVE-2022-23518"},{"alias":"GHSA-mcvf-2q2m-x72m"},{"alias":"GMS-2022-8300"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/938366?format=json","purl":"pkg:deb/debian/ruby-rails-html-sanitizer@1.3.0-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rails-html-sanitizer@1.3.0-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/938370?format=json","purl":"pkg:deb/debian/ruby-rails-html-sanitizer@1.3.0-1%2Bdeb11u1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rails-html-sanitizer@1.3.0-1%252Bdeb11u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/1052554?format=json","purl":"pkg:deb/debian/ruby-rails-html-sanitizer@1.4.4-1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rails-html-sanitizer@1.4.4-1"},{"url":"http://public2.vulnerablecode.io/api/packages/938364?format=json","purl":"pkg:deb/debian/ruby-rails-html-sanitizer@1.4.4-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rails-html-sanitizer@1.4.4-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/938368?format=json","purl":"pkg:deb/debian/ruby-rails-html-sanitizer@1.6.2-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rails-html-sanitizer@1.6.2-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/938367?format=json","purl":"pkg:deb/debian/ruby-rails-html-sanitizer@1.7.0-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rails-html-sanitizer@1.7.0-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/141769?format=json","purl":"pkg:gem/loofah@2.1.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-271j-gcn1-73c5"},{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@2.1.1"},{"url":"http://public2.vulnerablecode.io/api/packages/80288?format=json","purl":"pkg:gem/rails-html-sanitizer@1.4.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-apxn-up79-x3ge"},{"vulnerability":"VCID-cphr-tdzs-x7ar"},{"vulnerability":"VCID-rhb1-h2b8-jucb"},{"vulnerability":"VCID-rz3c-6h7r-6bam"},{"vulnerability":"VCID-ueen-aybd-tqh2"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rails-html-sanitizer@1.4.4"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/1052551?format=json","purl":"pkg:deb/debian/ruby-rails-html-sanitizer@1.0.3-2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-63em-3vdj-j3cu"},{"vulnerability":"VCID-782b-usu3-bbhd"},{"vulnerability":"VCID-ete9-xwuw-puf8"},{"vulnerability":"VCID-wxfr-bs81-augc"},{"vulnerability":"VCID-xby9-avva-a3e5"},{"vulnerability":"VCID-zcs7-hzze-u3a5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rails-html-sanitizer@1.0.3-2"},{"url":"http://public2.vulnerablecode.io/api/packages/1052552?format=json","purl":"pkg:deb/debian/ruby-rails-html-sanitizer@1.0.4-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-63em-3vdj-j3cu"},{"vulnerability":"VCID-782b-usu3-bbhd"},{"vulnerability":"VCID-ete9-xwuw-puf8"},{"vulnerability":"VCID-wxfr-bs81-augc"},{"vulnerability":"VCID-zcs7-hzze-u3a5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rails-html-sanitizer@1.0.4-1"},{"url":"http://public2.vulnerablecode.io/api/packages/1052553?format=json","purl":"pkg:deb/debian/ruby-rails-html-sanitizer@1.3.0-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-63em-3vdj-j3cu"},{"vulnerability":"VCID-782b-usu3-bbhd"},{"vulnerability":"VCID-ete9-xwuw-puf8"},{"vulnerability":"VCID-wxfr-bs81-augc"},{"vulnerability":"VCID-zcs7-hzze-u3a5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rails-html-sanitizer@1.3.0-1"},{"url":"http://public2.vulnerablecode.io/api/packages/141745?format=json","purl":"pkg:gem/loofah@0.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@0.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/141746?format=json","purl":"pkg:gem/loofah@0.2.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@0.2.1"},{"url":"http://public2.vulnerablecode.io/api/packages/141747?format=json","purl":"pkg:gem/loofah@0.2.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@0.2.2"},{"url":"http://public2.vulnerablecode.io/api/packages/141748?format=json","purl":"pkg:gem/loofah@0.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@0.3.0"},{"url":"http://public2.vulnerablecode.io/api/packages/141749?format=json","purl":"pkg:gem/loofah@0.3.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@0.3.1"},{"url":"http://public2.vulnerablecode.io/api/packages/141750?format=json","purl":"pkg:gem/loofah@0.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@0.4.0"},{"url":"http://public2.vulnerablecode.io/api/packages/141751?format=json","purl":"pkg:gem/loofah@0.4.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@0.4.1"},{"url":"http://public2.vulnerablecode.io/api/packages/141752?format=json","purl":"pkg:gem/loofah@0.4.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@0.4.2"},{"url":"http://public2.vulnerablecode.io/api/packages/141753?format=json","purl":"pkg:gem/loofah@0.4.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@0.4.3"},{"url":"http://public2.vulnerablecode.io/api/packages/141754?format=json","purl":"pkg:gem/loofah@0.4.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@0.4.4"},{"url":"http://public2.vulnerablecode.io/api/packages/141755?format=json","purl":"pkg:gem/loofah@0.4.5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@0.4.5"},{"url":"http://public2.vulnerablecode.io/api/packages/141756?format=json","purl":"pkg:gem/loofah@0.4.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@0.4.6"},{"url":"http://public2.vulnerablecode.io/api/packages/141757?format=json","purl":"pkg:gem/loofah@0.4.7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@0.4.7"},{"url":"http://public2.vulnerablecode.io/api/packages/141758?format=json","purl":"pkg:gem/loofah@1.0.0.beta.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@1.0.0.beta.1"},{"url":"http://public2.vulnerablecode.io/api/packages/141759?format=json","purl":"pkg:gem/loofah@1.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@1.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/141760?format=json","purl":"pkg:gem/loofah@1.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@1.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/141761?format=json","purl":"pkg:gem/loofah@1.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@1.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/141762?format=json","purl":"pkg:gem/loofah@1.2.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@1.2.1"},{"url":"http://public2.vulnerablecode.io/api/packages/141763?format=json","purl":"pkg:gem/loofah@2.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@2.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/141764?format=json","purl":"pkg:gem/loofah@2.0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@2.0.1"},{"url":"http://public2.vulnerablecode.io/api/packages/141765?format=json","purl":"pkg:gem/loofah@2.0.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@2.0.2"},{"url":"http://public2.vulnerablecode.io/api/packages/141766?format=json","purl":"pkg:gem/loofah@2.0.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@2.0.3"},{"url":"http://public2.vulnerablecode.io/api/packages/141767?format=json","purl":"pkg:gem/loofah@2.1.0.rc1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@2.1.0.rc1"},{"url":"http://public2.vulnerablecode.io/api/packages/141768?format=json","purl":"pkg:gem/loofah@2.1.0.rc2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@2.1.0.rc2"},{"url":"http://public2.vulnerablecode.io/api/packages/131015?format=json","purl":"pkg:gem/loofah@2.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-271j-gcn1-73c5"},{"vulnerability":"VCID-ab24-w4sg-bbax"},{"vulnerability":"VCID-amsh-qpt1-9qb7"},{"vulnerability":"VCID-paw4-xkmu-w7eb"},{"vulnerability":"VCID-q52h-9tcw-zfab"},{"vulnerability":"VCID-sqa5-8yrd-qyfz"},{"vulnerability":"VCID-wxfr-bs81-augc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/loofah@2.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/21576?format=json","purl":"pkg:gem/rails-html-sanitizer@1.0.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-63em-3vdj-j3cu"},{"vulnerability":"VCID-782b-usu3-bbhd"},{"vulnerability":"VCID-apxn-up79-x3ge"},{"vulnerability":"VCID-cphr-tdzs-x7ar"},{"vulnerability":"VCID-ete9-xwuw-puf8"},{"vulnerability":"VCID-rhb1-h2b8-jucb"},{"vulnerability":"VCID-rz3c-6h7r-6bam"},{"vulnerability":"VCID-ueen-aybd-tqh2"},{"vulnerability":"VCID-wxfr-bs81-augc"},{"vulnerability":"VCID-xby9-avva-a3e5"},{"vulnerability":"VCID-zcs7-hzze-u3a5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rails-html-sanitizer@1.0.3"},{"url":"http://public2.vulnerablecode.io/api/packages/27373?format=json","purl":"pkg:gem/rails-html-sanitizer@1.0.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-63em-3vdj-j3cu"},{"vulnerability":"VCID-782b-usu3-bbhd"},{"vulnerability":"VCID-apxn-up79-x3ge"},{"vulnerability":"VCID-cphr-tdzs-x7ar"},{"vulnerability":"VCID-ete9-xwuw-puf8"},{"vulnerability":"VCID-rhb1-h2b8-jucb"},{"vulnerability":"VCID-rz3c-6h7r-6bam"},{"vulnerability":"VCID-ueen-aybd-tqh2"},{"vulnerability":"VCID-wxfr-bs81-augc"},{"vulnerability":"VCID-zcs7-hzze-u3a5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rails-html-sanitizer@1.0.4"},{"url":"http://public2.vulnerablecode.io/api/packages/139680?format=json","purl":"pkg:gem/rails-html-sanitizer@1.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-63em-3vdj-j3cu"},{"vulnerability":"VCID-782b-usu3-bbhd"},{"vulnerability":"VCID-apxn-up79-x3ge"},{"vulnerability":"VCID-cphr-tdzs-x7ar"},{"vulnerability":"VCID-ete9-xwuw-puf8"},{"vulnerability":"VCID-rhb1-h2b8-jucb"},{"vulnerability":"VCID-rz3c-6h7r-6bam"},{"vulnerability":"VCID-ueen-aybd-tqh2"},{"vulnerability":"VCID-wxfr-bs81-augc"},{"vulnerability":"VCID-zcs7-hzze-u3a5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rails-html-sanitizer@1.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/139681?format=json","purl":"pkg:gem/rails-html-sanitizer@1.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-63em-3vdj-j3cu"},{"vulnerability":"VCID-782b-usu3-bbhd"},{"vulnerability":"VCID-apxn-up79-x3ge"},{"vulnerability":"VCID-cphr-tdzs-x7ar"},{"vulnerability":"VCID-ete9-xwuw-puf8"},{"vulnerability":"VCID-rhb1-h2b8-jucb"},{"vulnerability":"VCID-rz3c-6h7r-6bam"},{"vulnerability":"VCID-ueen-aybd-tqh2"},{"vulnerability":"VCID-wxfr-bs81-augc"},{"vulnerability":"VCID-zcs7-hzze-u3a5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rails-html-sanitizer@1.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/139682?format=json","purl":"pkg:gem/rails-html-sanitizer@1.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-63em-3vdj-j3cu"},{"vulnerability":"VCID-782b-usu3-bbhd"},{"vulnerability":"VCID-apxn-up79-x3ge"},{"vulnerability":"VCID-cphr-tdzs-x7ar"},{"vulnerability":"VCID-ete9-xwuw-puf8"},{"vulnerability":"VCID-rhb1-h2b8-jucb"},{"vulnerability":"VCID-rz3c-6h7r-6bam"},{"vulnerability":"VCID-ueen-aybd-tqh2"},{"vulnerability":"VCID-wxfr-bs81-augc"},{"vulnerability":"VCID-zcs7-hzze-u3a5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rails-html-sanitizer@1.3.0"},{"url":"http://public2.vulnerablecode.io/api/packages/139683?format=json","purl":"pkg:gem/rails-html-sanitizer@1.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-63em-3vdj-j3cu"},{"vulnerability":"VCID-782b-usu3-bbhd"},{"vulnerability":"VCID-apxn-up79-x3ge"},{"vulnerability":"VCID-cphr-tdzs-x7ar"},{"vulnerability":"VCID-ete9-xwuw-puf8"},{"vulnerability":"VCID-rhb1-h2b8-jucb"},{"vulnerability":"VCID-rz3c-6h7r-6bam"},{"vulnerability":"VCID-ueen-aybd-tqh2"},{"vulnerability":"VCID-wxfr-bs81-augc"},{"vulnerability":"VCID-zcs7-hzze-u3a5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rails-html-sanitizer@1.4.0"},{"url":"http://public2.vulnerablecode.io/api/packages/139684?format=json","purl":"pkg:gem/rails-html-sanitizer@1.4.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-63em-3vdj-j3cu"},{"vulnerability":"VCID-782b-usu3-bbhd"},{"vulnerability":"VCID-apxn-up79-x3ge"},{"vulnerability":"VCID-cphr-tdzs-x7ar"},{"vulnerability":"VCID-ete9-xwuw-puf8"},{"vulnerability":"VCID-rhb1-h2b8-jucb"},{"vulnerability":"VCID-rz3c-6h7r-6bam"},{"vulnerability":"VCID-ueen-aybd-tqh2"},{"vulnerability":"VCID-wxfr-bs81-augc"},{"vulnerability":"VCID-zcs7-hzze-u3a5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rails-html-sanitizer@1.4.1"},{"url":"http://public2.vulnerablecode.io/api/packages/139685?format=json","purl":"pkg:gem/rails-html-sanitizer@1.4.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-63em-3vdj-j3cu"},{"vulnerability":"VCID-782b-usu3-bbhd"},{"vulnerability":"VCID-apxn-up79-x3ge"},{"vulnerability":"VCID-cphr-tdzs-x7ar"},{"vulnerability":"VCID-ete9-xwuw-puf8"},{"vulnerability":"VCID-rhb1-h2b8-jucb"},{"vulnerability":"VCID-rz3c-6h7r-6bam"},{"vulnerability":"VCID-ueen-aybd-tqh2"},{"vulnerability":"VCID-wxfr-bs81-augc"},{"vulnerability":"VCID-zcs7-hzze-u3a5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rails-html-sanitizer@1.4.2"},{"url":"http://public2.vulnerablecode.io/api/packages/81551?format=json","purl":"pkg:gem/rails-html-sanitizer@1.4.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-63em-3vdj-j3cu"},{"vulnerability":"VCID-782b-usu3-bbhd"},{"vulnerability":"VCID-apxn-up79-x3ge"},{"vulnerability":"VCID-cphr-tdzs-x7ar"},{"vulnerability":"VCID-rhb1-h2b8-jucb"},{"vulnerability":"VCID-rz3c-6h7r-6bam"},{"vulnerability":"VCID-ueen-aybd-tqh2"},{"vulnerability":"VCID-wxfr-bs81-augc"},{"vulnerability":"VCID-zcs7-hzze-u3a5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/rails-html-sanitizer@1.4.3"},{"url":"http://public2.vulnerablecode.io/api/packages/97427?format=json","purl":"pkg:rpm/redhat/tfm-rubygem-rails-html-sanitizer@1.4.4-1?arch=el8sat","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-782b-usu3-bbhd"},{"vulnerability":"VCID-wxfr-bs81-augc"},{"vulnerability":"VCID-zcs7-hzze-u3a5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/tfm-rubygem-rails-html-sanitizer@1.4.4-1%3Farch=el8sat"}],"references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-23518.json","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-23518.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2022-23518","reference_id":"","reference_type":"","scores":[{"value":"0.00253","scoring_system":"epss","scoring_elements":"0.48643","published_at":"2026-04-11T12:55:00Z"},{"value":"0.00253","scoring_system":"epss","scoring_elements":"0.48629","published_at":"2026-04-13T12:55:00Z"},{"value":"0.00253","scoring_system":"epss","scoring_elements":"0.48616","published_at":"2026-04-12T12:55:00Z"},{"value":"0.00253","scoring_system":"epss","scoring_elements":"0.48576","published_at":"2026-04-07T12:55:00Z"},{"value":"0.00253","scoring_system":"epss","scoring_elements":"0.4863","published_at":"2026-04-08T12:55:00Z"},{"value":"0.00253","scoring_system":"epss","scoring_elements":"0.48625","published_at":"2026-04-09T12:55:00Z"},{"value":"0.00254","scoring_system":"epss","scoring_elements":"0.48542","published_at":"2026-05-05T12:55:00Z"},{"value":"0.00254","scoring_system":"epss","scoring_elements":"0.4863","published_at":"2026-05-09T12:55:00Z"},{"value":"0.00254","scoring_system":"epss","scoring_elements":"0.48604","published_at":"2026-05-07T12:55:00Z"},{"value":"0.0026","scoring_system":"epss","scoring_elements":"0.49363","published_at":"2026-04-04T12:55:00Z"},{"value":"0.0026","scoring_system":"epss","scoring_elements":"0.49336","published_at":"2026-04-02T12:55:00Z"},{"value":"0.00269","scoring_system":"epss","scoring_elements":"0.50459","published_at":"2026-04-21T12:55:00Z"},{"value":"0.00269","scoring_system":"epss","scoring_elements":"0.50483","published_at":"2026-04-18T12:55:00Z"},{"value":"0.00269","scoring_system":"epss","scoring_elements":"0.50415","published_at":"2026-04-26T12:55:00Z"},{"value":"0.00269","scoring_system":"epss","scoring_elements":"0.50366","published_at":"2026-04-29T12:55:00Z"},{"value":"0.00269","scoring_system":"epss","scoring_elements":"0.50478","published_at":"2026-04-16T12:55:00Z"},{"value":"0.00269","scoring_system":"epss","scoring_elements":"0.50405","published_at":"2026-04-24T12:55:00Z"},{"value":"0.00276","scoring_system":"epss","scoring_elements":"0.51035","published_at":"2026-05-14T12:55:00Z"},{"value":"0.00276","scoring_system":"epss","scoring_elements":"0.50928","published_at":"2026-05-11T12:55:00Z"},{"value":"0.00276","scoring_system":"epss","scoring_elements":"0.50958","published_at":"2026-05-12T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2022-23518"},{"reference_url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23518","reference_id":"","reference_type":"","scores":[],"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23518"},{"reference_url":"https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml","reference_id":"","reference_type":"","scores":[{"value":"7.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:L"}],"url":"https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"},{"reference_url":"https://github.com/rails/rails-html-sanitizer","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-html-sanitizer"},{"reference_url":"https://github.com/rails/rails-html-sanitizer/issues/135","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-html-sanitizer/issues/135"},{"reference_url":"https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-mcvf-2q2m-x72m","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":"cvssv3.1_qr","scoring_elements":""},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-mcvf-2q2m-x72m"},{"reference_url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails-html-sanitizer/CVE-2022-23518.yml","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/rubysec/ruby-advisory-db/blob/master/gems/rails-html-sanitizer/CVE-2022-23518.yml"},{"reference_url":"https://github.com/w3c/svgwg/issues/266","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/w3c/svgwg/issues/266"},{"reference_url":"https://hackerone.com/reports/1694173","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://hackerone.com/reports/1694173"},{"reference_url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00012.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/2023/09/msg00012.html"},{"reference_url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00045.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/2024/09/msg00045.html"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23518","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://nvd.nist.gov/vuln/detail/CVE-2022-23518"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027153","reference_id":"1027153","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027153"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2153701","reference_id":"2153701","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2153701"},{"reference_url":"https://github.com/advisories/GHSA-mcvf-2q2m-x72m","reference_id":"GHSA-mcvf-2q2m-x72m","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-mcvf-2q2m-x72m"},{"reference_url":"https://access.redhat.com/errata/RHSA-2023:2097","reference_id":"RHSA-2023:2097","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2023:2097"}],"weaknesses":[{"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."},{"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."}],"exploits":[],"severity_range_score":"4.0 - 7.1","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-wxfr-bs81-augc"}