Descrizione
Akaunting 3.3.0 contains a stored cross-site scripting vulnerability in the XLSX tax-import workflow. An authenticated Manager can import HTML in a tax name and associate the tax with an item. When an Administrator attempts to disable that tax, Akaunting renders the original stored name in an error notification through Vue v-html, causing attacker-controlled markup to execute within the browser of another authenticated user.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.0, EPSS 0.7% (percentile 48).
Versioni da aggiornare
- Akaunting Akaunting: vulnerabile la versione
3.3.0→ installare l'ultima release supportata dal vendor.
Indicazioni del vendor
Soluzione (testo originale del vendor):
Validate spreadsheet-derived tax attributes before model construction, persist tax names as text, and replace notification v-html rendering with Vue text interpolation or v-text. Migrate stored tax names containing markup and add regression coverage for the import and notification paths.
Workaround (testo originale del vendor):
Until an upstream fix is available, restrict tax-import, item-management, and tax-management permissions to required administrative roles; inspect imported tax names for markup and apply a restrictive CSP as defense in depth.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Applicare una Content-Security-Policy restrittiva e regole WAF contro XSS; invitare gli utenti a non aprire link sospetti verso l'applicazione.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Akaunting | Akaunting | 3.3.0 | — |
Riferimenti
- Riferimentohttps://fluidattacks.com/advisories/taxman
- Riferimentohttps://github.com/akaunting/akaunting
- Riferimentohttps://github.com/akaunting/akaunting/blob/3.3.0/app/Imports/Settings/Taxes.php
- Riferimentohttps://github.com/akaunting/akaunting/blob/3.3.0/routes/admin.php
- Riferimentohttps://fluidattacks.com/advisories/taxman