# CVE-2024-50344: I, Librarian has a Stored XSS vulnerability in Supplemental Files

- Severity: Medium 4.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-02)
- Published: 2024-10-30T15:51:30.047Z
- Modified: 2026-06-17T08:04:16.483Z
- Weaknesses: CWE-80
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

I, Librarian is an open-source version of a PDF managing SaaS. Supplemental Files are allowed to be viewed in the browser, only if they have a white-listed MIME type. Unfortunately, this logic is broken, thus allowing unsafe files containing Javascript to be executed with the application context. An attacker can exploit this vulnerability by uploading a supplementary file that contains a malicious code or script. This code will then be executed when the file is loaded in the browser. The vulnerability was fixed in version 5.11.2.

(As written by CVE List.)

## Affected

- mkucej i-librarian-free: < 5.11.2

## References

- <https://github.com/mkucej/i-librarian-free/security/advisories/GHSA-c2rm-w62w-5xmj>
- <https://github.com/mkucej/i-librarian-free/commit/a67d7949ffb02fd912ebdcf552df006b44066d78>

## Sources

- CVE List: [CVE-2024-50344](https://www.cve.org/CVERecord?id=CVE-2024-50344), CVE Terms of Use, modified 2024-10-30
- NVD: [CVE-2024-50344](https://nvd.nist.gov/vuln/detail/CVE-2024-50344), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50344 · Whole record: https://cve.day/CVE-2024-50344.json · Rebuilt by cve.day 2026-11-25T22:58:47.533Z
