Skip to content

Commit 24d2542

Browse files
1 parent 5925f09 commit 24d2542

1 file changed

Lines changed: 67 additions & 0 deletions

File tree

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-98wm-cxpw-847p",
4+
"modified": "2026-03-24T20:40:16Z",
5+
"published": "2026-03-24T20:40:16Z",
6+
"aliases": [
7+
"CVE-2026-33628"
8+
],
9+
"summary": "Invoice Ninja Denylist Bypass may Lead to Stored XSS via Invoice Line Items",
10+
"details": "## Vulnerability Details\n\nInvoice line item descriptions in Invoice Ninja v5.13.0 bypass the XSS denylist filter, allowing stored XSS payloads to execute when invoices are rendered in the PDF preview or client portal.\n\nThe line item description field was not passed through `purify::clean()` before rendering.\n\n## Steps to Reproduce\n\n1. Login as any authenticated user\n2. Create or edit an invoice\n3. In a line item description, enter: `<img src=x onerror=alert(document.cookie)>`\n4. Save the invoice and preview it\n5. The XSS payload executes in the browser\n\n## Impact\n\n- **Attacker**: Any authenticated user who can create invoices\n- **Victim**: Any user viewing the invoice (including clients via the portal)\n- **Specific damage**: Session hijacking, account takeover, data exfiltration\n\n## Proposed Fix\n\nFixed in v5.13.4 by the vendor by adding `purify::clean()` to sanitize line item descriptions.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "Packagist",
21+
"name": "invoiceninja/invoiceninja"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"fixed": "5.13.4"
32+
}
33+
]
34+
}
35+
]
36+
}
37+
],
38+
"references": [
39+
{
40+
"type": "WEB",
41+
"url": "https://github.com/invoiceninja/invoiceninja/security/advisories/GHSA-98wm-cxpw-847p"
42+
},
43+
{
44+
"type": "WEB",
45+
"url": "https://github.com/invoiceninja/invoiceninja/commit/b81a3fc302573fc4a53d61e8537dd19154ce1091"
46+
},
47+
{
48+
"type": "PACKAGE",
49+
"url": "https://github.com/invoiceninja/invoiceninja"
50+
},
51+
{
52+
"type": "WEB",
53+
"url": "https://github.com/invoiceninja/invoiceninja/releases/tag/v5.13.4"
54+
}
55+
],
56+
"database_specific": {
57+
"cwe_ids": [
58+
"CWE-116",
59+
"CWE-184",
60+
"CWE-79"
61+
],
62+
"severity": "MODERATE",
63+
"github_reviewed": true,
64+
"github_reviewed_at": "2026-03-24T20:40:16Z",
65+
"nvd_published_at": null
66+
}
67+
}

0 commit comments

Comments
 (0)