Description
SolidInvoice is an open-source invoicing platform. Prior to version 2.3.17, the company logo upload feature accepts any file type without validation. An authenticated administrator can upload an SVG file containing embedded JavaScript. This script is base64-encoded and injected unescaped into every page of the application, causing stored cross-site scripting (XSS) that executes in every authenticated user's browser. This issue has been patched in version 2.3.17.
Problem types
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CWE-434: Unrestricted Upload of File with Dangerous Type
Product status
References
github.com/...nvoice/security/advisories/GHSA-mqwm-r4g8-wf4w
github.com/...nvoice/security/advisories/GHSA-mqwm-r4g8-wf4w
github.com/...ommit/8196c64df58b1226739f6ec4097fd6e7ba757860
github.com/SolidInvoice/SolidInvoice/releases/tag/2.3.17