Akaunting Cross-Site Scripting Vulnerability in Reports Component

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in Akaunting version 3.1.18, within the reports component located at '/common/reports'. This vulnerability allows authenticated attackers to execute arbitrary web scripts or HTML by injecting a crafted payload into the 'name' parameter. The issue arises from insufficient sanitization of user input, enabling the injection of malicious links that can redirect users.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where injected scripts are executed in the context of the user's browser.

Reproduction

To reproduce this vulnerability, log into an affected Akaunting account and navigate to the '/common/reports' section. Once there, edit the name field of a report by inserting a hyperlink, such as one pointing to Google. After saving the changes, clicking on the linked text will redirect to the specified URL, demonstrating the successful execution of the injected script.

Added: Aug 21, 2025, 5:29 PM
Updated: Aug 21, 2025, 7:20 PM

Vulnerability Rating

Custom Algorithm
spread
3.1
impact
1.7
exploitability
6.6
remediation
0.0
relevance
0.4
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.