CVE-2024-41943
I, Librarian (Free) - Stored XSS
I, Librarian is an open-source version of a PDF managing SaaS. PDF notes are displayed on the Item Summary page without any form of validation or sanitation.
An attacker can exploit this vulnerability by inserting a payload in the PDF notes that contains malicious code or script. This code will then be executed when the page is loaded in the browser. The vulnerability was fixed in version 5.11.1.
Steps to Reproduce
Import a PDF file and navigate to its summary by clicking on the imported PDF file's name in the Items menu in the dashboard
Click on the "Pdf" button under the file's name in the top-side of the page to navigate to the file's preview
Click on the "Annotations" button in the top menu to save a comment containing an XSS payload such as:
<script>alert(1)</script>
The stored XSS payload will be triggered any time a user visits the targeted PDF's summary.
Proof of Concept
References
Last updated