Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-39123-Exploit — Exploit For: CVE-2024-39123: Stored XSS in Calibre-web 0.6.21 | Kitploit
Tools/GitHubGitHub/theexploiters/cve-2024-39123-exploit
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration Testing
GitHubtheexploiters/cve-2024-39123-exploit

CVE-2024-39123-Exploit

Exploit For: CVE-2024-39123: Stored XSS in Calibre-web 0.6.21

View Repository
21 year agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-39123: Stored XSS in Calibre-web 0.6.21

Exploit Details

  • Exploit Title: Stored XSS in Calibre-web
  • Date: 2024-05-07
  • Exploit Authors: Catalin Iovita & Alexandru Postolache (Pentest-Tools.com)
  • Vendor Homepage: Calibre-web GitHub Repository
  • Version: 0.6.21 - Romesa
  • Tested on: Linux 5.15.0-107, Python 3.10.12, lxml 4.9.4
  • CVE: CVE-2024-39123

Vulnerability Description

Calibre-web 0.6.21 is susceptible to a Stored Cross-Site Scripting (XSS) vulnerability. This flaw allows an attacker to inject and store malicious scripts on the server. These scripts are subsequently executed in the context of another user's session when they access the infected part of the application.

Steps to Reproduce

  1. Log In: Authenticate to the Calibre-web application with a valid user account.

  2. Upload a New Book: Navigate to the upload section and upload a new book.

  3. Access Books List: Visit the /table?data=list&sort_param=stored endpoint to view the Books List.

  • Inject Payload: In the Comments field of the uploaded book, insert the following payload:

    root@kitploit:~
    <a href=javas%1Bcript:alert()>Hello there!</a>
    
  • Save Changes: Submit the form to save the changes.

  • Trigger the Payload: Go to the Book Details of the uploaded book. Click on the description to trigger the stored script. An alert box will appear, indicating the successful execution of the injected script.

  • Impact

    This vulnerability allows attackers to execute arbitrary JavaScript in the context of other users. This can lead to:

    • Session Hijacking: Stealing user sessions.
    • Data Manipulation: Altering or deleting data.
    • Phishing Attacks: Redirecting users to malicious sites.
    • Information Disclosure: Exposing sensitive information.

    Mitigation

    • Update: Users should update to a version of Calibre-web that addresses this vulnerability.
    • Input Sanitization: Developers should implement strict input validation and output encoding to prevent XSS attacks.

    References

    • Calibre-web GitHub Repository

    Repo View Counter

    Download Tool