CVE-2021-3988
Last modified
CVE-2021-3988 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. A Cross-site Scripting (XSS) vulnerability exists in janeczku/calibre-web, specifically in the file `edit_books.js`. The vulnerability occurs when editing book properties, such as uploading a cover or a format. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
Description
A Cross-site Scripting (XSS) vulnerability exists in janeczku/calibre-web, specifically in the file `edit_books.js`. The vulnerability occurs when editing book properties, such as uploading a cover or a format. The affected code directly inserts user input into the DOM without proper sanitization, allowing attackers to execute arbitrary JavaScript code. This can lead to various attacks, including stealing cookies. The issue is present in the code handling the `#btn-upload-cover` change event.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Janeczku | Calibre-Web | < 0.6.15 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-3988?
How severe is CVE-2021-3988?
How do I fix CVE-2021-3988?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-39874In all versions of GitLab CE/EE since version 11.0, the requ…4.3
- CVE-2021-39875In all versions of GitLab CE/EE since version 13.6, it is po…5.3
- CVE-2021-39876In all versions of GitLab CE/EE since version 11.3, the endp…4.3
- CVE-2021-39877A vulnerability was discovered in GitLab starting with versi…5.5
- CVE-2021-39878A stored Reflected Cross-Site Scripting vulnerability in the…5.4
- CVE-2021-39879Missing authentication in all versions of GitLab CE/EE since…3.5
- CVE-2021-39880A Denial Of Service vulnerability in the apollo_upload_serve…6.5
- CVE-2021-39881In all versions of GitLab CE/EE since version 7.7, the appli…3.5
- CVE-2021-39882In all versions of GitLab CE/EE, provided a user ID, anonymo…5.3
- CVE-2021-39883Improper authorization checks in all versions of GitLab EE s…4.3
- CVE-2021-39884In all versions of GitLab EE since version 8.13, an endpoint…4.3
- CVE-2021-39885A Stored XSS in merge request creation page in all versions …5.4
Are you affected by CVE-2021-3988?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
