CVE-2022-0352 Cross-site Scripting (XSS) - Reflected in janeczku/calibre-web

High 8.5 Published Updated

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.

PackageAffectedFixed in
calibreweb PyPIAll versions0.6.16
calibreweb PyPIAll versions0.6.16
calibreweb PyPIAll versions0.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.

Sources

Also known as GHSA-h56g-v4vp-q9q6, PYSEC-2022-18.

Is CVE-2022-0352 in your software?

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

Check your SBOMs for free