Security mailing lists by PureSourceCode

CVE-2022-24749

MEDIUM 6.1CVSS 3.1

Improper sanitize of SVG files during content upload ('Cross-site Scripting') in sylius/sylius

Sylius is an open source eCommerce platform. In versions prior to 1.9.10, 1.10.11, and 1.11.2, it is possible to upload an SVG file containing cross-site scripting (XSS) code in the admin panel. In order to perform a XSS attack, the file itself has to be open 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. The issue is fixed in versions 1.9.10, 1.10.11, and 1.11.2. As a workaround, require a library that adds on-upload file sanitization and overwrite the service before writing the file to the filesystem. The GitHub Security Advisory contains more specific information about the workaround.

Published
14 Mar 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-434CWE-79CWE-80
Also known as
GHSA-4qrp-27r3-66fj
Sources
NVDJSONOSV GHSA-4qrp-27r3-66fjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD sylius sylius
cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*
< 1.9.10 1.9.10
NVD sylius sylius
cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*
>= 1.10.0, < 1.10.11 1.10.11
NVD sylius sylius
cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*
>= 1.11.0, < 1.11.2 1.11.2
OSV Packagist sylius/sylius < 1.9.10 1.9.10
OSV Packagist sylius/sylius >= 1.10.0, < 1.10.11 1.10.11
OSV Packagist sylius/sylius >= 1.11.0, < 1.11.2 1.11.2

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 14 Mar 2022)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 Mar 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.