CVE-2021-33562 Cross-site scripting in Shopizer
Remote attackers can inject arbitrary web script or HTML via the ref parameter in Shopizer, potentially leading to session hijacking or malicious actions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-33562?
CVE-2021-33562 is a medium-severity cross-site scripting vulnerability in n/a, published on 24 May 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
A reflected cross-site scripting (XSS) vulnerability in Shopizer before 2.17.0 allows remote attackers to inject arbitrary web script or HTML via the ref parameter to a page about an arbitrary product, e.g., a product/insert-product-name-here.html/ref= URL.
Weakness: CWE-79
Which versions are affected by CVE-2021-33562?
2 open source packages ship an affected version, including com.shopizer:shopizer. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.shopizer:shopizer Maven | All versions | 2.17.0 |
com.shopizer:shopizer Maven | All versions | 2.17.0 |
Products include Shopizer Shopizer.
How do I fix CVE-2021-33562?
Upgrade com.shopizer:shopizer to 2.17.0 or later.
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-33562 being exploited?
There is no known exploitation of CVE-2021-33562 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-378p-hrq3-x4p3.