Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-50252

published high CVSS 3.1 · 8.3

php-svg-lib unsafe attributes merge when parsing `use` tag

Published
12 Dec 2023, 20:39:17 UTC
Updated
02 Aug 2024, 22:16:46 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
dompdf — php-svg-lib< 0.5.1 Affected Not stated GitHub_M
Debian bookworm php-dompdf-svg-lib Advisory build 0.5.0-3+deb12u1 DSA-5642-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.3 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
dompdf php-svg-lib < 0.5.1 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-15 CWE-15: External Control of System or Configuration Setting (GitHub_M · cna)
  • CWE-502 CWE-502: Deserialization of Untrusted Data (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

php-svg-lib unsafe attributes merge when parsing `use` tag

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
263bcfd1d2ad4d250f2be4a1cd37ca5ad0742f1ac19e6a6288ef391120ab18ea
Ingested
23 Sep 2026, 08:13:59 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected