Home / Stirling-Tools / Stirling-PDF / CVE-2024-52286
CVE-2024-52286: is it exploited, and which versions of Stirling-Tools Stirling-PDF are affected and fixed?
CVE-2024-52286 is an improper input validation vulnerability in Stirling-Tools Stirling-PDF. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: Stirling-PDF < 0.32.0 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Low (2.0, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:25 UTC.
What is CVE-2024-52286?
Self Cross Site Scripting (XSS) In Merge Functionality in Stirling-PDF
Stirling-PDF is a locally hosted web application that allows you to perform various operations on PDF files. In affected versions the Merge functionality takes untrusted user input (file name) and uses it directly in the creation of HTML pages allowing any unauthenticated to execute JavaScript code in the context of the user. The issue stems to the code starting at `Line 24` in `src/main/resources/static/js/merge.js`. The file name is directly being input into InnerHTML with no sanitization on the file name, allowing a malicious user to be able to upload files with names containing HTML tags. As HTML tags can include JavaScript code, this can be used to execute JavaScript code in the context of the user. This is a self-injection style attack and relies on a user uploading the malicious file themselves and it impact only them, not other users. A user might be social engineered into running this to launch a phishing attack. Nevertheless, this breaks the expected security restrictions in place by the application. This issue has been addressed in version 0.32.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
From the CVE record by GitHub_M, last updated January 9, 2025, 14:29 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Stirling-Tools | Stirling-PDF | < 0.32.0 |
As the CVE record by GitHub_M states it, last updated January 9, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2024-52286?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.0 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-52286 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, November 12, 2024)
- EPSS
- 0.54% probability of exploitation activity in the next 30 days, percentile 46.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-9j55-gvf2-cqwv x_refsource_CONFIRM
- https://github.com/Stirling-Tools/Stirling-PDF/commit/404e31468ec98413f1906cc7ee3d49091638c693 x_refsource_MISC
- https://hotanya.fyi/blog/self-xss-in-stirling-pdf-cve-2024-52286/
When was it published, and where is the official record?
- Reserved
- November 6, 2024
- Published
- November 11, 2024, 19:14 UTC
- CVE record updated
- January 9, 2025, 14:29 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 08:06 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:25 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Stirling-PDF?
- Dec 2, 2026CVE-2026-142292 Stirling-Tools Stirling-PDF: server-side request forgery (SSRF)
- Nov 13, 2026CVE-2026-129173 Stirling-Tools Stirling-PDF: insufficient Session Timeout Value
- Oct 30, 2026CVE-2026-119343 Stirling-Tools Stirling-PDF: external Control of File Name or Path
- Oct 30, 2026CVE-2026-119342 Stirling-Tools Stirling-PDF: improper input validation
- Oct 20, 2026CVE-2026-113606 Stirling-Tools Stirling-PDF: authorization bypass through a user-controlled key (IDOR)
- Oct 20, 2026CVE-2026-113605 Stirling-Tools Stirling-PDF: incomplete List of Disallowed Inputs
- Oct 14, 2026CVE-2026-85714 Stirling-Tools Stirling-PDF: code injection (remote code execution)
- Aug 17, 2026CVE-2026-57485 Stirling-Tools Stirling-PDF: information disclosure
Questions about CVE-2024-52286
Is CVE-2024-52286 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.54% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Stirling-Tools Stirling-PDF are affected by CVE-2024-52286?
Stirling-PDF < 0.32.0, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2024-52286?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-52286?
Low (2.0, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-52286?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.