CVE-2021-46875 Cross-site scripting in eZ Platform Kernel
Attackers can execute arbitrary JavaScript by uploading malicious HTML or JS files, potentially compromising user sessions or data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-46875?
CVE-2021-46875 is a medium-severity cross-site scripting vulnerability in n/a, published on 12 Mar 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
An issue was discovered in eZ Platform Ibexa Kernel before 1.3.1.1. An XSS attack can occur because JavaScript code can be uploaded in a .html or .js file.
Weakness: CWE-79
Which versions are affected by CVE-2021-46875?
8 open source packages ship an affected version, including ezsystems/ezplatform-kernel and ezsystems/ezpublish-kernel. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ezsystems/ezplatform-kernel Packagist | All versions | 1.2.5.1 |
ezsystems/ezplatform-kernel Packagist | All versions | 1.2.5.1 |
ezsystems/ezplatform-kernel Packagist | From 1.3.0 | 1.3.1.1 |
ezsystems/ezplatform-kernel Packagist | From 1.3.0 | 1.3.1.1 |
ezsystems/ezpublish-kernel Packagist | All versions | 6.13.8.2 |
ezsystems/ezpublish-kernel Packagist | All versions | 6.13.8.2 |
2 more packages
ezsystems/ezpublish-kernel Packagist | From 7.0.0 | 7.5.15.2 |
ezsystems/ezpublish-kernel Packagist | From 7.0.0 | 7.5.15.2 |
Products include Ibexa Ez Platform Kernel.
How do I fix CVE-2021-46875?
Upgrade ezsystems/ezplatform-kernel to a fixed version for your release line: 1.2.5.1 or 1.3.1.1.
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-2021-46875 being exploited?
There is no known exploitation of CVE-2021-46875 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-mrvj-7q4f-5p42.