CVE-2022-0352 Cross-site Scripting (XSS) - Reflected in janeczku/calibre-web
Reflected Cross-Site Scripting in Calibre Web allows attackers to execute arbitrary scripts in victim browsers, potentially leading to session hijacking or data theft.
- 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-2022-0352?
CVE-2022-0352 is a high-severity cross-site scripting vulnerability in janeczku/calibre-web, published on 28 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Cross-site Scripting (XSS) - Reflected in Pypi calibreweb prior to 0.6.16.
Weakness: CWE-79
Which versions are affected by CVE-2022-0352?
3 open source packages ship an affected version, including calibreweb. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
calibreweb PyPI | All versions | 0.6.16 |
calibreweb PyPI | All versions | 0.6.16 |
calibreweb PyPI | All versions | 0.6.16 |
Products include Janeczku Calibre-Web.
How do I fix CVE-2022-0352?
Upgrade calibreweb to 0.6.16 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-2022-0352 being exploited?
There is no known exploitation of CVE-2022-0352 in the wild and no public exploit code.
Other vulnerabilities in janeczku/calibre-web
- CVE-2022-30765 SQL injection in calibreweb
- CVE-2020-12627 Hardcoded credentials in n/a
- CVE-2022-0990 Server-Side Request Forgery (SSRF) in janeczku/calibre-web
- CVE-2022-0767 Server-Side Request Forgery (SSRF) in janeczku/calibre-web
- CVE-2022-0939 Server-Side Request Forgery (SSRF) in janeczku/calibre-web
Sources
Also known as GHSA-h56g-v4vp-q9q6, PYSEC-2022-18.