نسخههای متأثر
- نسخههای متأثر
- < 0.15.0
- نسخهٔ اصلاحشده
- 0.15.0
- نسخههای متأثر
- <=2.5.8
- نسخهٔ اصلاحشده
- 2.5.9
بهرهبرداری
شرح آسیبپذیری
Impact
SVG sanitizer library before version 0.15.0 did not remove HTML elements wrapped in a CDATA section. As a result, SVG content embedded in HTML (fetched as text/html) was susceptible to cross-site scripting. Plain SVG files (fetched as image/svg+xml) were not affected.
Patches
This issue is fixed in 0.15.0 and higher.
Workarounds
There is currently no workaround available without upgrading.
For more information
If you have any questions or comments about this advisory:
Open an issue in Github
Email us at daryll@enshrined.co.uk
پیوندها
- https://github.com/FriendsOfPHP/security-advisories/blob/master/enshrined/svg-sanitize/CVE-2022-23638.yaml
- https://github.com/advisories/GHSA-fqx8-v33p-4qcc
- https://github.com/darylldoyle/svg-sanitizer
- https://github.com/darylldoyle/svg-sanitizer/commit/17e12ba9c2881caa6b167d0fbea555c11207fbb0
- https://github.com/darylldoyle/svg-sanitizer/issues/71
- https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-fqx8-v33p-4qcc
- https://nvd.nist.gov/vuln/detail/CVE-2022-23638
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f6a41a90-d116-4cb5-9627-08eb70f9654d?source=api-prod
گزارشدهندگان
- zcorpan
- ohader

