{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33436 exists.","fix":"No fix has been published for CVE-2026-33436 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-33436 is a low-severity cross-site scripting vulnerability in Stirling-Tools Stirling-PDF, published on 17 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-33436 and fix it if it is affected.\n\nWhat it is: CVE-2026-33436 is a low-severity cross-site scripting vulnerability in Stirling-Tools Stirling-PDF, published on 17 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33436 exists.\n\nAffected product: Stirling-Tools Stirling-PDF. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-33436/ (Markdown: https://insights.sbomify.com/CVE-2026-33436/index.md)","id":"CVE-2026-33436","markdown":"https://insights.sbomify.com/CVE-2026-33436/index.md","name":"CVE-2026-33436","record":{"aliases":["GHSA-q5j3-4m5w-wp75"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Stirling-PDF","requires_auth":"none","summary":"Attackers can execute arbitrary JavaScript in victim browsers via crafted filenames in Stirling-PDF uploads, potentially leading to session hijacking.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"stirling_pdf","vendor":"stirlingpdf"}],"cvss":{"score":3.1,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"Stirling-PDF is a locally hosted web application that facilitates various operations on PDF files. In versions prior to 2.0.0, file upload endpoints render user-supplied filenames directly into HTML using unsafe methods like innerHTML without sanitization. An attacker can craft a file with a malicious filename containing JavaScript that executes in the uploading user's browser context, resulting in reflected XSS. The issue affects numerous upload endpoints across the application. The issue has been fixed in version 2.0.0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Stirling-PDF: Reflected XSS through crafted filename in file upload functionality","id":"CVE-2026-33436","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Stirling PDF: Stored XSS in Info Summary","id":"CVE-2026-33437"},"packages":[],"prev":{"headline":"Weblate: Remote code execution during backup restoration","id":"CVE-2026-33435"},"products":["Stirling-PDF"],"published":"2026-04-17","related":[{"cvss_score":8.6,"headline":"Stirling-PDF SSRF vulnerability on /api/v1/convert/html/pdf","id":"CVE-2025-55150","kev_date_added":null,"published":"2025-08-11"},{"cvss_score":8.6,"headline":"Stirling-PDF SSRF vulnerability on /api/v1/convert/file/pdf","id":"CVE-2025-55151","kev_date_added":null,"published":"2025-08-11"},{"cvss_score":8.6,"headline":"Stirling-PDF SSRF vulnerability on /api/v1/convert/markdown/pdf","id":"CVE-2025-55161","kev_date_added":null,"published":"2025-08-11"},{"cvss_score":7.7,"headline":"Stirling-PDF Server-Side Request Forgery (SSRF)-Induced Arbitrary File Read Vulnerability","id":"CVE-2025-46568","kev_date_added":null,"published":"2025-05-01"},{"cvss_score":2.3,"headline":"Stirling-Tools Stirling-PDF Markdown-to-PDF cross site scripting","id":"CVE-2024-9075","kev_date_added":null,"published":"2024-09-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-20","vendors":["Stirling-Tools"]},"summary":"Attackers can execute arbitrary JavaScript in victim browsers via crafted filenames in Stirling-PDF uploads, potentially leading to session hijacking.","url":"https://insights.sbomify.com/CVE-2026-33436/"}