CVE-2025-61769: Php Upload Allows Svg

An array containing 'svg' alongside standard image extensions was detected. If this array is used to validate file upload extensions, it introduces a risk of Stored Cross-Site Scripting (XSS). SVG files can contain embedded JavaScript that executes when a browser renders the file. Consider removing 'svg' from the allowed file extensions or properly sandboxin

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2025-61769-php-upload-allows-svg --engine opengrep

Description

An array containing 'svg' alongside standard image extensions was detected. If this array is used to validate file upload extensions, it introduces a risk of Stored Cross-Site Scripting (XSS). SVG files can contain embedded JavaScript that executes when a browser renders the file. Consider removing 'svg' from the allowed file extensions or properly sandboxin