CVE-2024-29376 Sylius has potential Cross Site Scripting vulnerability via the "Province" field in the Checkout and Address Book

Medium 6.4 Published Updated

Attackers can inject malicious scripts via the Province field in the Address Book, potentially leading to session hijacking or code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-29376?

CVE-2024-29376 is a medium-severity cross-site scripting vulnerability in n/a, published on 22 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Sylius 1.12.13 is vulnerable to Cross Site Scripting (XSS) via the "Province" field in Address Book.

Weakness: CWE-79

Which versions are affected by CVE-2024-29376?

10 open source packages ship an affected version, including sylius/sylius. It affects 1 product.

PackageAffectedFixed in
sylius/sylius PackagistAll versions1.9.12
sylius/sylius PackagistAll versions1.9.12
sylius/sylius PackagistFrom 1.10.0-alpha.11.10.16
sylius/sylius PackagistFrom 1.10.0-alpha.11.10.16
sylius/sylius PackagistFrom 1.11.0-alpha.11.11.17
sylius/sylius PackagistFrom 1.11.0-alpha.11.11.17
4 more packages
sylius/sylius PackagistFrom 1.12.0-alpha.11.12.16
sylius/sylius PackagistFrom 1.12.0-alpha.11.12.16
sylius/sylius PackagistFrom 1.13.0-alpha.11.13.1
sylius/sylius PackagistFrom 1.13.0-alpha.11.13.1

Products include Sylius Sylius.

How do I fix CVE-2024-29376?

Upgrade sylius/sylius to a fixed version for your release line: 1.9.12, 1.10.16, 1.11.17 or 1.12.16.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-29376 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29376 exists.

Sources

Also known as GHSA-7prj-9ccr-hr3q.

Is CVE-2024-29376 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free