Cross site scripting in sylius/sylius
Sylius versions before 1.9.10, 1.10.11, and 1.11.2 are vulnerable to stored cross-site scripting through SVG files. An attacker could inject malicious scripts that execute in a user's browser.
sylius/sylius
Originally disclosed on huntr
sylius/sylius versions prior to 1.9.10, 1.10.11, and 1.11.2 are vulnerable to stored cross-site scripting (XSS) through SVG files. This vulnerability allows attackers to inject malicious scripts that can be executed in the context of the user's browser.
From the GitHub Advisory Database (GHSA-hhvr-2q69-4563, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could execute malicious scripts in the context of a user's browser, potentially stealing data or performing actions on behalf of the user.
What the attacker needed
Ability to upload SVG files; victim views the uploaded SVG
The fix
It should be fixed by upgrading to version 1.9.10, 1.10.11, or 1.11.2, which likely sanitise or block script content in SVG uploads.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Stored cross-site scripting (XSS) is when a website saves harmful code (like a script) and later shows it to other users, letting the attacker run code in their browsers. Here, the site accepts SVG image files, which can contain scripts, and does not clean them properly. So an attacker can upload a malicious SVG and when someone views it, the script runs.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.