Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS v3.1 score of 5.4 (Medium) reflects moderate real-world risk: attack vector is network-based (AV:N) with low complexity (AC:L), but requires prior authentication (PR:L), reducing likelihood of opportunistic exploitation. The scope is changed (S:C), indicating impact extends beyond the immediate vulnerable component to other users viewing invoices. The vulnerability carries low confidentiality and integrity impact (C:L/I:L) with no availability impact (A:N), consistent with XSS rather than data breach or system compromise. Critically, no CISA KEV listing or public exploit code is referenced in available intelligence, indicating no confirmed active exploitation or proof-of-concept at analysis time. This positions the vulnerability as a real but not urgent priority: it requires legitimate user access to exploit, affects a narrower user base than unauthenticated XSS, but poses genuine risk to multi-user invoice environments where stored XSS can persist across sessions. Organizations running Invoice Ninja in production should prioritize patching but may defer slightly if compensating controls (CSP headers, network isolation) are in place. |
| Exploit ScenarioDerived | An authenticated Invoice Ninja user with product notes field access (e.g., product manager or admin) embeds a malicious Markdown payload such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 26, 2026
Stored cross-site scripting (XSS) in Invoice Ninja v5.13.0 through v5.13.3 allows authenticated attackers with product notes field access to inject and execute arbitrary JavaScript in invoice templates via unvalidated Markdown rendering. The vulnerability affects all Invoice Ninja instances running affected versions where the Markdown parser output bypasses HTML sanitization, enabling session hijacking, credential theft, or malicious template manipulation for other users viewing invoices. A vendor-released patch (v5.13.4) addresses this by implementing purify::clean() sanitization on Markdown output.
RemediationAI
Upgrade Invoice Ninja to version v5.13.4 or later immediately. This patched release adds purify::clean() sanitization to Markdown output in product notes fields. If immediate upgrade is not feasible, implement a temporary Content Security Policy (CSP) header set to script-src 'none' or restrict to 'self' only to mitigate stored XSS impact, and audit recent invoice templates for injected script tags. Additionally, restrict access to product notes editing fields to trusted administrative users only, and educate users not to paste untrusted content into product notes fields. See the vendor advisory at https://github.com/invoiceninja/invoiceninja/security/advisories/GHSA-xph7-9749-56mh for deployment guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Invoice Ninja is a Laravel-based invoicing application (CPE: cpe:2.3:a:invoiceninja:invoiceninja) that processes product notes fields through a Markdown rendering pipeline. The vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically the failure to sanitize Markdown parser output before template inclusion. The application used Markdown conversion to render rich text in product notes but did not subsequently pass the HTML output through purification routines. This is a classic second-order XSS pattern where user-controlled Markdown input is converted to HTML and then embedded in templates without Content Security Policy or HTML entity encoding protections. The fix implements the purify::clean() function, which is a standard Laravel/PHP HTML sanitization utility that strips potentially dangerous tags and attributes while preserving safe formatting.
Know when Invoiceninja gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
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.
Executive ViewAI
Organizations using Invoice Ninja should be aware of moderate risk from CVE-2026-33742, a cross-site scripting vulnerability rated CVSS 5.4. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Invoiceninja
View allinvoiceninja is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rate
Open redirect in Invoice Ninja's client portal login (through version 5.13.26) enables unauthenticated attackers to craf
In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories/AccountRepository.php
Invoice Ninja before 5.13.28 allows authenticated vendor-portal contacts to download invoice PDFs, contracts, payment re
Invoice Ninja's Vendor Portal Profile Update endpoint (versions up to 5.13.26) contains an IDOR flaw in VendorContactCon
Server-side request forgery in Invoice Ninja up to version 5.13.26 allows authenticated remote attackers to coerce the a
EUVD-2026-16418
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB