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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 8.3 · High EPSS 9.63% · P93
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Source: NVD (National Vulnerability Database)
Vulnerability Type
系统设置或配置在外部可控制
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
dompdfphp-svg-lib < 0.5.1 -

II. Public POCs for CVE-2023-50252

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-50252

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2023-50252

No comments yet


Leave a comment