Home
Trends
Vulnerabilities
News
Researchers
Why dbugs?

Robyfirnandoyusuf

#44951of 53,633
5.5Total CVSS
Vulnerabilities · 1
PT-2023-25717
5.5
2023-07-05
Statamic · Statamic · CVE-2023-36828
**Name of the Vulnerable Software and Affected Versions** Statamic versions prior to 4.10.0 **Description** The issue concerns the SVG tag not sanitizing malicious SVG, allowing an attacker to perform cross-site scripting attacks using SVG, even when using the `sanitize` function. This can be exploited by uploading a manipulated SVG file, potentially triggering an XSS vulnerability. The estimated number of potentially affected devices is not specified. Technical details about exploitation include: - **API Endpoints:** Not specified - **Vulnerable Parameters or Variables:** `sanitize` function, `File::get()` - **Function Names:** `sanitize` function **Recommendations** For versions prior to 4.10.0, update to version 4.10.0 to resolve the issue. As a temporary workaround, consider sanitizing the SVG when outputting it, utilizing a reliable package such as https://github.com/darylldoyle/svg-sanitizer to ensure comprehensive SVG sanitization capabilities. Restrict access to uploading SVG files to minimize the risk of exploitation until the issue is resolved.