Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2024-52286

Score2 Low
CVSS 4.0
Exploit probability (EPSS)0.92%
within the next 30 days
CategoryCross-site scripting (XSS)
Published11 November 2024
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, with active user participation.

Impact is limited: reading confidential data, modifying data.

Weakness type: Improper input validation.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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.

CVSS: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness: CWE-20 – Improper input validation, CWE-79 – Cross-site scripting (XSS)

Sources

Latest in the same category

  • CVE-2026-139988 Medium 5.1
    Foliovision FV Player 8 through 8.2.1 contains a stored cross-site scripting vulnerability in get_popup_code() that allows authenticated Contributor+ attackers to inject script via the popup and end_action_value…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-139987 Medium 5.1
    Foliovision FV Player 8 through 8.2.1 contains a stored cross-site scripting vulnerability in get_ad_code() that allows Contributor-level users to inject scripts via the overlay shortcode attribute. Attackers can embed…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-139901 Low 1
    OctoPrint through 2.0.2 contains a stored cross-site scripting vulnerability that allows attackers to inject HTML by planting unsanitized printer SD file names. Attackers with printer control can send M118 echo…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-139873 Medium 5.1
    Jivejdon through 5.0 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject script by saving unsanitized profile properties via /account/protected/accountProfileSave.…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-133643 Medium 6.1
    Improper neutralization of input during web page generation ('Cross-site Scripting') vulnerability in Apache Struts. If the application uses the doubleselect tag with the doubleMultiple attribute set, the value the tag…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-133639 Medium 6.1
    Improper neutralization of input during web page generation ('Cross-site Scripting') vulnerability in Apache Struts. If the application uses the Javatemplates plugin, an additional attribute passed to a UI tag, that is…
    Cross-site scripting (XSS) · 30 November 2026