php-dompdf-svg-lib — security advisory
php-svg-lib is an SVG file parsing / rendering library. Prior to version 0.5.1, when handling `` tag that references an `` tag, it merges the attributes from the `` tag to the `` tag. The problem pops up especially when the `href` attribute from the `` 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.
- Products
- php-dompdf-svg-lib
- Affected versions
- 0.5.0-3
- Fixed versions
- 0.5.0-3+deb12u1
- CVEs
- CVE-2023-50252
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 16:00 UTC · Revision 1
Source evidence
php-svg-lib is an SVG file parsing / rendering library. Prior to version 0.5.1, when handling `` tag that references an `` tag, it merges the attributes from the `` tag to the `` tag. The problem pops up especially when the `href` attribute from the `` 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.
osv:DEBIAN-CVE-2023-50252
php-dompdf-svg-lib
Fixed versions: 0.5.0-3+deb12u1
Complete source record
{
"id": "355edb464c8c5f1bf33dbfc33209a3950cc366075e2212471040392416eddc36",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-50252",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2023-50252",
"summary": "php-svg-lib is an SVG file parsing / rendering library. Prior to version 0.5.1, when handling `` tag that references an `` tag, it merges the attributes from the `` tag to the `` tag. The problem pops up especially when the `href` attribute from the `` 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.",
"evidence": "osv:DEBIAN-CVE-2023-50252",
"products": [
{
"name": {
"value": "php-dompdf-svg-lib",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.5.0-3+deb12u1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "0.5.0-3",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "DEBIAN-CVE-2023-50252",
"aliases": [
"DEBIAN-CVE-2023-50252"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.5.0-3+deb12u1"
}
]
}
],
"package": {
"name": "php-dompdf-svg-lib",
"purl": "pkg:deb/debian/php-dompdf-svg-lib?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"0.5.0-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-50252.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T18:02:35.821903210Z",
"provider": "osv",
"upstream": [
"CVE-2023-50252"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2023-50252"
]
},
"related_cves": [
{
"value": "CVE-2023-50252",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 456335,
"published_at": "2023-12-12T21:15:08.67+00:00"
}