Improper sanitize of SVG files during content upload ('Cross-site Scripting') in sylius/sylius
Published Mar 14, 2022 · Updated Oct 23, 2026 · Also known as GHSA-4qrp-27r3-66fj
Original summary
Normalized public record · Updated Oct 23, 2026
Improper sanitize of SVG files during content upload ('Cross-site Scripting') in sylius/sylius
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
There is a possibility to upload an SVG file containing XSS code in the admin panel. In order to perform an XSS attack, the file itself has to be opened in a new card (or loaded outside of the IMG tag). The problem applies both to the files opened on the admin panel and shop pages.
Potential impact
There is a possibility to upload an SVG file containing XSS code in the admin panel. In order to perform an XSS attack, the file itself has to be opened in a new card (or loaded outside of the IMG tag). The problem applies both to the files opened on the admin panel and shop pages.
Evidence: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- LOW
- Confidence
- Not available
- Aliases
- GHSA-4qrp-27r3-66fj
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
Record history
Published Mar 14, 2022 · Last refreshed Oct 23, 2026