Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-50252— php-svg-lib unsafe attributes merge when parsing `use` tag

Quick assessment

Affected
dompdf php-svg-lib
Exploitation
High exploitation probability; assess promptly
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

php-svg-lib是dompdf开源的一个 SVG 文件解析/渲染库。 php-svg-lib 0.5.1 之前版本存在安全漏洞,该漏洞源于当处理引用 image标签的 use标签时,会将 use标签中的属性合并到 image标签,当 use标记中的 href属性尚未清理时,可能会导致不安全的文件读取,从而导致反序列化。

CVSS 8.3 · High EPSS 23.90% · P98
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-50252

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
php-svg-lib unsafe attributes merge when parsing `use` tag
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
系统设置或配置在外部可控制
Source: CVE Program / CVE List V5
Vulnerability Title
php-svg-lib 其他漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
php-svg-lib是dompdf开源的一个 SVG 文件解析/渲染库。 php-svg-lib 0.5.1 之前版本存在安全漏洞,该漏洞源于当处理引用 image标签的 use标签时,会将 use标签中的属性合并到 image标签,当 use标记中的 href属性尚未清理时,可能会导致不安全的文件读取,从而导致反序列化。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
dompdf php-svg-lib < 0.5.1 -

II. Public POCs for CVE-2023-50252

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-50252

请登录查看更多情报信息。

Patches & Fixes for CVE-2023-50252 (1)

Vendor Advisories for CVE-2023-50252 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-50252

No comments yet


Leave a comment