CVE-2026-126536 in Akauntinginfo

Summary

by MITRE • 11/25/2026

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.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/25/2026

The vulnerability identified in Akaunting version 3.3.0 represents a classic instance of Stored Cross-Site Scripting, specifically categorized under CWE-79: Improper Neutralization of Input During Web Page Generation. This flaw resides within the application's tax-import workflow, which utilizes XLSX file formats for bulk data entry. The core technical deficiency lies in the insufficient sanitization and validation mechanisms applied to user-supplied input fields during the import process. Specifically, when an authenticated Manager imports a spreadsheet containing HTML markup embedded within the tax name field, the backend system accepts this malicious payload without stripping or encoding dangerous characters such as script tags, event handlers, or JavaScript URIs. This lack of rigorous input sanitization allows attacker-controlled content to be persisted directly into the application's database alongside legitimate financial data structures.

The operational impact is significantly amplified by the subsequent rendering mechanism employed by the frontend framework. When an Administrator attempts to disable a tax entry that contains this malicious payload, Akaunting triggers an error notification or status message intended to inform the user of the action taken or any constraints preventing the change. Crucially, this notification component utilizes Vue.js v-html directive for rendering content. The v-html property in Vue bypasses standard HTML escaping and directly injects raw HTML into the DOM. Consequently, when the Administrator views this error message, their browser interprets the stored malicious markup as executable JavaScript code rather than plain text. This execution occurs within the context of the victim's session, granting the attacker the ability to execute arbitrary scripts with the privileges of an authenticated administrator user.

From a threat intelligence perspective, this vulnerability aligns closely with MITRE ATT&CK technique T1059.007: Command and Scripting Interpreter::JavaScript. The exploitation chain allows for several malicious outcomes beyond simple defacement or phishing redirects. An attacker could potentially steal session cookies or authentication tokens stored in local storage if the application relies on them, leading to account takeover. Furthermore, the attacker could perform actions on behalf of the administrator, such as modifying financial records, creating new user accounts with elevated privileges, or exfiltrating sensitive business data visible within the Akaunting interface. The persistence aspect of this vulnerability means that a single successful import can compromise every subsequent administrative session until the malicious tax entry is manually removed from the database via direct SQL access or other backend methods not exposed through the UI.

Mitigation strategies must address both input validation and output encoding to break the attack chain at multiple points. First, strict server-side sanitization should be implemented for all fields involved in import workflows, particularly those that may eventually be rendered back into HTML contexts. This involves whitelisting allowed characters or using robust libraries like DOMPurify to strip dangerous tags before database insertion. Second, from a frontend perspective, the application should avoid using v-html or similar directives for displaying user-generated content unless absolutely necessary and even then only after rigorous sanitization. If dynamic rendering is required, text interpolation methods that automatically escape HTML entities must be preferred over raw HTML injection. Additionally, implementing Content Security Policy headers can provide an additional layer of defense by restricting the sources from which scripts are allowed to execute, thereby mitigating the impact if a script tag does manage to render. Regular security audits and penetration testing focused on input validation in bulk import features are essential to prevent similar vulnerabilities in future updates.

Responsible

Fluid Attacks

Reservation

11/11/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00689

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!