SecurityContext

CVE-2022-24749: Sylius - Stored XSS

  • Cve: CVE-2022-24749
  • Name: Sylius - Stored XSS
  • Description: 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.
  • Impact: Attackers can execute malicious scripts via uploaded SVG files, leading to potential session hijacking or defacement.
  • Remediation: Update to versions 1.9.10, 1.10.11, or 1.11.2. or implement a sanitization library and overwrite the upload service as a workaround.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker must upload and victim must open/load SVG files outside IMG tag.
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.01108
  • Epss percentile: 0.66706
  • Assignee: [email protected]
  • Published at: 2022-03-14T22:15:07Z
  • Age in days: 1716
  • Modified at: 2026-06-17T04:32:25Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-24749
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-80Improper Neutralization of Script-Related HTML Tags in a Web Page
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/Sylius/Sylius/security/advisories/GHSA-4qrp-27r3-66fjnvd2022-03-14

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/Sylius/Sylius/security/advisories/GHSA-4qrp-27r3-66fjExploit, Third Party Advisory
https://github.com/Sylius/Sylius/releases/tag/v1.10.11Third Party Advisory
https://github.com/Sylius/Sylius/releases/tag/v1.11.2Third Party Advisory
https://github.com/Sylius/Sylius/releases/tag/v1.9.10Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
sylius:sylius>= 1.11.0, < 1.11.2; >= 1.10.0, < 1.10.11; < 1.9.10nonvd/v1/products/sylius/sylius

Projects

RepositoryLink kindsIndexedUrl
Sylius/Syliuspackage, releases, security_advisoryyes/v1/repositories/Sylius/Sylius

Index

  • Repositories: 2
  • Repositories high signal: 2
  • Checked, none or zero: packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-03-14
  • Remote: yes
  • Exposed hosts: 116
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports