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.
<img src=x onerror=alert(document.cookie)>Fixed in v5.13.4 by the vendor by adding purify::clean() to sanitize line item descriptions.
{
"github_reviewed": true,
"cwe_ids": [
"CWE-116",
"CWE-184",
"CWE-79"
],
"nvd_published_at": "2026-03-26T21:17:07Z",
"github_reviewed_at": "2026-03-24T20:40:16Z",
"severity": "MODERATE"
}