Every CVE Search/ Get API key

CVE-2023-46035

svg_optimizer rubygem external XML entity (XXE) vulnerability

5.9 MediumFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

0.37%Down 1.1 points since Jun 12, 2026
90%50%10%1%

What each source reports

CVE List Score used 5.9

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

Record
CVE-2023-46035
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-776
Updated
2026-11-02
EUVDEUVD-2023-60669 5.9

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

Record
EUVD-2023-60669
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-6hvg-62q8-95v7 No score

svg_optimizer rubygem external XML entity (XXE) vulnerability

An issue in Fnando svg_optimizer v.0.2.6 allows a remote attacker to escalate privileges when optimizing untrusted SVG content.

Record
GHSA-6hvg-62q8-95v7
Weakness
CWE-611
Updated
2026-11-02
NVD 5.9

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

Record
CVE-2023-46035
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-776
Updated
2026-11-02
OSV 5.9

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

Record
CVE-2023-46035
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-776
Updated
2026-11-02
OSVGHSA-6hvg-62q8-95v7 No score

svg_optimizer rubygem external XML entity (XXE) vulnerability

An issue in Fnando svg_optimizer v.0.2.6 allows a remote attacker to escalate privileges when optimizing untrusted SVG content.

Record
GHSA-6hvg-62q8-95v7
Weakness
CWE-611
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
svg_optimizer
RubyGems
0.2.6 to 0.2.6
0.3.0
svg_optimizer
RubyGems
0.2.6 up to 0.3.0
0.3.0

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-46035 is a medium vulnerability (CVSS 5.9) in Fnando Svg Optimizer, published October 20, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.37%, the 30th percentile. Fixed in svg_optimizer 0.3.0.

References

MoveEnter Open