Skip to content
Fencer Vulns
medium 5.9

CVE-2023-46035 json

svg_optimizer rubygem external XML entity (XXE) vulnerability

published 2023-10-20 3 y ago modified 2026-09-22 47 d ago also GHSA-6hvg-62q8-95v7 , EUVD-2023-60669

cvss
5.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 30%
public exploits
0
none known

Summary

The svg_optimizer gem before 0.3.0 for Ruby performs entity expansion on untrusted documents.

Patch / fix

  • rubygems svg_optimizer 0.3.0
  • fnando svg_optimizer 0.3.0

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
55 d ago

Exploit prediction

0.37% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
rubygems svg_optimizer
>=0.2.6, <0.3.0
0.3.0

Affected products

  • fnando svg_optimizer

Classification

Weakness
  • CWE-776 Improper Restriction of Recursive Entity References in DTDs
  • CWE-611 Improper Restriction of XML External Entity Reference

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.