Skip to main content
No exploitation reportedFix available

CVE-2023-50252

No exploitation reported by the sources we read.

  • Published2023-12-12
  • Fixed in0.5.1
  • WeaknessCWE-15 · CWE-502

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

php-svg-lib is an SVG file parsing / rendering library. Prior to version 0.5.1, when handling `<use>` tag that references an `<image>` tag, it merges the attributes from the `<use>` tag to the `<image>` tag. The problem pops up especially when the `href` attribute from the `<use>` tag has not been sanitized. This can lead to an unsafe file read that can cause PHAR Deserialization vulnerability in PHP prior to version 8. Version 0.5.1 contains a patch for this issue.

Timeline

dates in UTC
  1. 2023-12-1221:15CVE publishedNVD
  2. 2026-12-0204:55EPSS crossed 10 %FIRST EPSS

Versions per branch

NVD
Dompdf php-svg-lib
BranchAffectedFixed in
0.5< 0.5.10.5.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • php-dompdf-svg-libDebian:12all versions · fixed in 0.5.0-3+deb12u1

Full record on NVD

Fix

  1. Update Dompdf php-svg-lib to 0.5.1

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 3.18.3known since 2026-10-23
  • NVDCVSS 3.19.8read 2026-10-23
  • CNAweakness (CWE)CWE-15, CWE-502known since 2026-10-23
  • FIRST EPSSEPSS score24.8 %read 2026-12-04
  • OSVaffected packages—

Identifiers

  • EUVD-2023-55067same flawENISA EUVD · LicenseRef-ENISA-legal-notice
  • DSA-5642-1advisory covering several CVEsDebian · LicenseRef-unstated

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2023-12-12
Last modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2023-50252?

php-svg-lib is an SVG file parsing / rendering library. Prior to version 0.5.1, when handling `<use>` tag that references an `<image>` tag, it merges the attributes from the `<use>` tag to the `<image>` tag. The problem pops up especially when the `href` attribute from the `<use>` tag has not been sanitized. This can lead to an unsafe file read that can cause PHAR Deserialization vulnerability in PHP prior to version 8. Version 0.5.1 contains a patch for this issue.

Is CVE-2023-50252 actively exploited?

Active exploitation of CVE-2023-50252 has not been confirmed. Its EPSS score was 24.8% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2023-50252?

CVE-2023-50252 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running php-dompdf-svg-lib? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record