{"id":"CVE-2023-46035","aliases":["CVE-2023-46035","GHSA-6hvg-62q8-95v7"],"related":[],"kind":"vulnerability","state":"published","title":"svg_optimizer rubygem external XML entity (XXE) vulnerability","summary":"The svg_optimizer gem before 0.3.0 for Ruby performs entity expansion on untrusted documents.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The svg_optimizer gem before 0.3.0 for Ruby performs entity expansion on untrusted documents.","source":"cvelist"},{"lang":"en","text":"An issue in Fnando svg_optimizer v.0.2.6 allows a remote attacker to escalate privileges when optimizing untrusted SVG content.","format":"markdown","source":"ghsa"}],"published":"2023-10-20T13:23:32.000Z","modified":"2026-09-22T20:00:03.713Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-611","CWE-776"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.3.0","status":"affected"}],"vendor":"fnando","product":"svg_optimizer","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.2.6","status":"affected","fixed":"0.3.0"}],"ecosystem":"RubyGems","package":"svg_optimizer","purl":"pkg:gem/svg_optimizer","source":"ghsa"}],"references":[{"url":"https://github.com/fnando/svg_optimizer/pull/17","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rubysec/ruby-advisory-db/pull/713","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/fnando/svg_optimizer/commit/8244ff25b51a16892496e9d9f7191dba393f7af0","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/fnando/svg_optimizer/commit/b1b5013db297494daba5676b9fa4423ffc5e96fa","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/fnando/svg_optimizer","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/svg_optimizer/CVE-2023-46035.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-14T16:25:11.500Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-46035","url":"https://www.cve.org/CVERecord?id=CVE-2023-46035","licence":"CVE Terms of Use","modified":"2026-09-14T16:25:20.700Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6hvg-62q8-95v7","url":"https://github.com/advisories/GHSA-6hvg-62q8-95v7","licence":"CC-BY-4.0","modified":"2023-11-08T04:13:40.269Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-46035","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46035","licence":"Public domain","modified":"2026-09-22T20:00:03.713Z"}],"updatedAt":"2026-11-25T22:58:35.426Z","epss":{"score":0.00409,"percentile":0.37229,"date":"2026-12-01T12:00:22.000Z"}}