CVE-2021-25964 Stored Cross-Site Scripting (XSS) in Calibre-web via Description Field in Metadata
An attacker with metadata edit access can inject JavaScript into the description field, leading to stored XSS when victims view the file.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-25964?
CVE-2021-25964 is a medium-severity cross-site scripting vulnerability in OzzieIsaacs calibreweb, published on 4 Oct 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
In “Calibre-web” application, v0.6.0 to v0.6.12, are vulnerable to Stored XSS in “Metadata”. An attacker that has access to edit the metadata information, can inject JavaScript payload in the description field. When a victim tries to open the file, XSS will be triggered.
Weakness: CWE-79
Which versions are affected by CVE-2021-25964?
It affects 1 product.
Products include Janeczku Calibre-Web.
How do I fix CVE-2021-25964?
No fix has been published for CVE-2021-25964 yet. Limit exposure of the affected software until one is available.
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-25964 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-25964 exists.
Other vulnerabilities in OzzieIsaacs calibreweb
- 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-8gr4-jgmh-5g8w.