{"id":"CVE-2026-33628","aliases":["GHSA-98wm-cxpw-847p"],"url":"https://o3.security/vulnerability/CVE-2026-33628","summary":"Invoice Ninja Denylist Bypass may Lead to Stored XSS via Invoice Line Items","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.","published":"2026-03-26T20:48:45.739Z","modified":"2026-08-12T03:51:29.009540429Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.00231,"percentile":0.14207,"asOf":"2026-08-22"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"invoiceninja/invoiceninja","fixedVersion":"5.13.4"}],"fix":{"url":"https://github.com/invoiceninja/invoiceninja/commit/b81a3fc302573fc4a53d61e8537dd19154ce1091","label":"invoiceninja/invoiceninja@b81a3fc"},"references":[{"type":"WEB","url":"https://github.com/invoiceninja/invoiceninja/releases/tag/v5.13.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33628.json"},{"type":"ADVISORY","url":"https://github.com/invoiceninja/invoiceninja/security/advisories/GHSA-98wm-cxpw-847p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33628"},{"type":"FIX","url":"https://github.com/invoiceninja/invoiceninja/commit/b81a3fc302573fc4a53d61e8537dd19154ce1091"},{"type":"PACKAGE","url":"https://github.com/invoiceninja/invoiceninja"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:29.009540429Z"}}