{"vuln_id":"GHSA-98wm-cxpw-847p","aliases":["CVE-2026-33628"],"description":"Stored XSS via Denylist Bypass in Invoice Line Items","published_at":"2026-03-22T07:42:20Z","modified_at":"2026-03-27T21:50:43.613847Z","first_seen_at":"2026-11-22T13:40:16.876581Z","severity":"medium","severity_source":"ghsa","cvss_score":5.4,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","cwe":["CWE-79","CWE-116","CWE-184"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-98wm-cxpw-847p"},"matched_alias":null,"items":[{"id":12279,"source":{"id":"invoiceninja-osv","name":"Invoice Ninja (Packagist invoiceninja/invoiceninja vulnerabilities)"},"title":"invoiceninja/invoiceninja (Packagist): GHSA-98wm-cxpw-847p / CVE-2026-33628 - Invoice Ninja Denylist Bypass may Lead to Stored XSS via Invoice Line Items","summary":"Invoice Ninja Denylist Bypass may Lead to Stored XSS via Invoice Line Items ## Vulnerability Details Invoice 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. The line item description field was not passed through `purify::clean()` before rendering. ## Steps to Reproduce 1. Login as any authenticated user 2. Create or edit an invoice 3. In a line item description, enter: `` 4. Save the invoice and preview it 5. The XSS payload executes in the browser ## Impact - **Attacker**: Any authenticated user who can create invoices - **Victim**: Any user viewing the invoice (including clients via the portal) - **Specific damage**: Session hijacking, account takeover, data exfiltration ## Proposed Fix Fixed in v5.13.4 by the vendor by adding `purify::clean()` to sanitize line item descriptions. Affected: Packagist:invoiceninja/invoiceninja Fixed in: 5.13.4 References: https://github.com/invoiceninja/invoiceninja/security/advisories/GHSA-98wm-cxpw-847p https://nvd.nist.gov/vuln/detail/CVE-2026-33628 https://github.com/invoiceninja/invoiceninja/commit/b81a3fc302573fc4a53d61e8537dd19154ce1091 https://github.com/invoiceninja/invoiceninja https://github.com/invoiceninja/invoiceninja/releases/tag/v5.13.4","url":"https://osv.dev/vulnerability/GHSA-98wm-cxpw-847p","published_at":"2026-03-24T20:40:16Z","updated_at":"2026-03-27T21:50:43.613847Z","fetched_at":"2026-11-22T13:40:36.012007Z","severity":"medium","cvss_score":5.4,"epss":0.00269,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"invoiceninja","product":"invoiceninja/invoiceninja","vuln_id":"CVE-2026-33628","vuln_ids":["CVE-2026-33628","GHSA-98WM-CXPW-847P"],"tags":["package-watch","pkg:invoiceninja/invoiceninja","stack","invoiceninja","fix-available"],"cluster_id":11390,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12279","html":"https://vulnwatch.ve1ve2.com/item/12279"}},{"id":12070,"source":{"id":"gh-invoiceninja","name":"Invoice Ninja releases + advisories (GitHub invoiceninja/invoiceninja)"},"title":"GHSA-98wm-cxpw-847p / CVE-2026-33628: Stored XSS via Denylist Bypass in Invoice Line Items","summary":"Stored XSS via Denylist Bypass in Invoice Line Items ## Vulnerability Details **CWE**: CWE-79 - Improper Neutralization of Input During Web Page Generation (Cross-site Scripting) Invoice 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. The line item description field was not passed through `purify::clean()` before rendering. ## Steps to Reproduce 1. Login as any authenticated user 2. Create or edit an invoice 3. In a line item description, enter: `` 4. Save the invoice and preview it 5. The XSS payload executes in the browser ## Impact - **Attacker**: Any authenticated user who can create invoices - **Victim**: Any user viewing the invoice (including clients via the portal) - **Specific damage**: Session hijacking, account takeover, data exfiltration ## Proposed Fix Fixed in v5.13.4 by the vendor by adding `purify::clean()` to sanitize line item descriptions. Affected packages: composer:invoiceninja/invoiceninja Patched: invoiceninja/invoiceninja 5.13.4","url":"https://github.com/invoiceninja/invoiceninja/security/advisories/GHSA-98wm-cxpw-847p","published_at":"2026-03-22T07:42:20Z","updated_at":"2026-03-23T15:48:01Z","fetched_at":"2026-11-22T13:40:16.867367Z","severity":"medium","cvss_score":5.4,"epss":0.00269,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"invoiceninja","product":"invoiceninja/invoiceninja","vuln_id":"CVE-2026-33628","vuln_ids":["CVE-2026-33628","GHSA-98WM-CXPW-847P"],"tags":["repo-advisory","composer","CWE-79","security","repo:invoiceninja/invoiceninja"],"cluster_id":11390,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12070","html":"https://vulnwatch.ve1ve2.com/item/12070"}}]}