{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33742 exists.","fix":"No fix has been published for CVE-2026-33742 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-33742 is a medium-severity cross-site scripting vulnerability in invoiceninja, published on 26 Mar 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-33742 and fix it if it is affected.\n\nWhat it is: CVE-2026-33742 is a medium-severity cross-site scripting vulnerability in invoiceninja, published on 26 Mar 2026. Any signed-in user can exploit it over the network, 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-33742 exists.\n\nAffected product: invoiceninja. 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-33742/ (Markdown: https://insights.sbomify.com/CVE-2026-33742/index.md)","id":"CVE-2026-33742","markdown":"https://insights.sbomify.com/CVE-2026-33742/index.md","name":"CVE-2026-33742","record":{"aliases":["GHSA-xph7-9749-56mh"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Invoice Ninja","requires_auth":"low_privilege","summary":"Attackers can inject malicious scripts via product notes, leading to stored XSS and potential account takeover in Invoice Ninja.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"invoice_ninja","vendor":"invoiceninja"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Invoice Ninja is a source-available invoice, quote, project and time-tracking app built with Laravel. Product notes fields in Invoice Ninja v5.13.0 allow raw HTML via Markdown rendering, enabling stored XSS. The Markdown parser output was not sanitized with `purify::clean()` before being included in invoice templates. This is fixed in v5.13.4 by the vendor by adding `purify::clean()` to sanitize Markdown output.","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":"Invoice Ninja has Stored XSS via Markdown HTML Injection in Product Notes","id":"CVE-2026-33742","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Incus vulnerable to denial of source through crafted bucket backup file","id":"CVE-2026-33743"},"packages":[],"prev":{"headline":"EspoCRM: Stored XSS via SVG attachment loading same-origin JavaScript","id":"CVE-2026-33741"},"products":["invoiceninja"],"published":"2026-03-26","related":[{"cvss_score":8.1,"headline":"Deserialization in n/a","id":"CVE-2021-33898","kev_date_added":null,"published":"2021-06-06"},{"cvss_score":7.7,"headline":"Server-side request forgery in n/a","id":"CVE-2026-29925","kev_date_added":null,"published":"2026-03-30"},{"cvss_score":6.5,"headline":"Cross-site Scripting (XSS) - Stored in invoiceninja/invoiceninja","id":"CVE-2021-3977","kev_date_added":null,"published":"2021-12-24"},{"cvss_score":5.4,"headline":"Invoice Ninja Denylist Bypass may Lead to Stored XSS via Invoice Line Items","id":"CVE-2026-33628","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":5.4,"headline":"Cross-site scripting in n/a","id":"CVE-2017-1000466","kev_date_added":null,"published":"2018-01-03"}],"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-03-27","vendors":["invoiceninja"]},"summary":"Attackers can inject malicious scripts via product notes, leading to stored XSS and potential account takeover in Invoice Ninja.","url":"https://insights.sbomify.com/CVE-2026-33742/"}