FOSSBilling
FOSSBilling: Low-privileged staff can run JavaScript in administrators' browsers via stored XSS in support ticket notes
FOSSBilling is an open source billing and client-management platform. From 0.1.0 until 0.8.9, the admin/support/note_create endpoint stores the note parameter without sanitization in the support_ticket_note table, and src/modules/Support/templates/admin/mod_support_tickets.html.twig renders each stored support ticket note through innerHTML in the admin ticket list. A staff user with only the support.manage_tickets permission can store HTML or JavaScript that executes when another staff member opens the ticket notes. The script runs with the viewing staff member's session and privileges, can read a CSRF token and accessible client or invoice data, and can perform administrative actions available to the viewer, including a Super Administrator. The ticket detail page is not affected because its Twig rendering uses autoescaping. This issue is fixed in version 0.8.9.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.1.0, < 0.8.9
Fixed in 0.8.9
Mitigation
Upgrade FOSSBilling to 0.8.9 or later.
References
- Vendor advisory github.com/FOSSBilling/FOSSBilling/security/ad…
- Patch github.com/FOSSBilling/FOSSBilling/pull/4548
- Patch github.com/FOSSBilling/FOSSBilling/commit/8752…
1 more
- Release notes github.com/FOSSBilling/FOSSBilling/releases/ta…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.