Description
Invoice Ninja is a source-available invoice, quote, project and time-tracking app built with Laravel. 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. This is fixed in v5.13.4 by the vendor by adding `purify::clean()` to sanitize line item descriptions.
Problem types
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CWE-116: Improper Encoding or Escaping of Output
CWE-184: Incomplete List of Disallowed Inputs
Product status
References
github.com/...eninja/security/advisories/GHSA-98wm-cxpw-847p
github.com/...eninja/security/advisories/GHSA-98wm-cxpw-847p
github.com/...ommit/b81a3fc302573fc4a53d61e8537dd19154ce1091
github.com/invoiceninja/invoiceninja/releases/tag/v5.13.4