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
- github.com/fnando/svg_optimizer@8244ff2 commit
- github.com/fnando/svg_optimizer@b1b5013 commit
- github.com/fnando/svg_optimizer#17 pull request
- github.com/rubysec/ruby-advisory-db#713 pull request
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
References
-
github.com
/fnando/svg_optimizer/pull/17
web
- github.com /rubysec/ruby-advisory-db/pull/713
-
github.com
/fnando/svg_optimizer/commit/8244ff25b51a16892496e9d9f7191dba393f7af0
web
-
github.com
/fnando/svg_optimizer/commit/b1b5013db297494daba5676b9fa4423ffc5e96fa
web
-
github.com
/fnando/svg_optimizer
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/svg_optimizer/CVE-2023-46035.yml
web
Sources
- CVE List CVE-2023-46035
- GitHub Advisory GHSA-6hvg-62q8-95v7
- NVD CVE-2023-46035
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.