CVE-2026-53641
Received Received - Intake

Stored XSS in FOSSBilling Email History Views

Vulnerability report for CVE-2026-53641, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-06

Last updated on: 2026-07-06

Assigner: GitHub, Inc.

Description

FOSSBilling is a free, open-source billing and client management system. Versions 0.6.0 through 0.7.2 have a stored cross-site scripting (XSS) vulnerability in the client-facing email history views of FOSSBilling. Email HTML content (`content_html`) is rendered into a JavaScript template literal using the `|raw` filter, bypassing all output escaping. An attacker with admin access can inject malicious JavaScript payloads into email content that execute in the browser of any client who views their email history. Version 0.8.0 contains a fix. Some workarounds are available. Restrict admin account access, audit email content in the database for suspicious payloads, and/or monitor client accounts for unusual activity.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-06
Last Modified
2026-07-06
Generated
2026-07-07
AI Q&A
2026-07-07
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
fossbilling fossbilling From 0.6.0 (inc) to 0.7.2 (inc)
fossbilling fossbilling 0.8.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-838 The product uses or specifies an encoding when generating output to a downstream component, but the specified encoding is not the same as the encoding that is expected by the downstream component.
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a stored cross-site scripting (XSS) issue in FOSSBilling versions 0.6.0 through 0.7.2. It occurs in the client-facing email history views where email HTML content is rendered into a JavaScript template literal without proper escaping. Specifically, the content_html field is rendered using the |raw filter, which bypasses output escaping. As a result, an attacker with admin access can inject malicious JavaScript code into email content that will execute in the browsers of clients who view their email history.

Impact Analysis

The impact of this vulnerability is that an attacker with admin privileges can inject malicious scripts into email content. These scripts will execute in the browsers of clients viewing their email history, potentially leading to unauthorized actions such as session hijacking, data theft, or other malicious activities performed in the context of the affected user's browser.

Detection Guidance

This vulnerability involves stored cross-site scripting (XSS) in the client-facing email history views of FOSSBilling, where malicious JavaScript payloads can be injected into email content by an attacker with admin access.

To detect this vulnerability on your system, you should audit the email content stored in the database for suspicious or malicious JavaScript payloads, especially in the HTML content fields.

Since the vulnerability is related to the rendering of email HTML content using the `|raw` filter, you can search the database for email content fields containing suspicious script tags or JavaScript event handlers.

Specific commands depend on your database system, but for example, if using MySQL, you might run queries like:

  • SELECT * FROM emails WHERE content_html LIKE '%<script>%';
  • SELECT * FROM emails WHERE content_html REGEXP 'onerror|onload|javascript:';

Additionally, monitor client accounts for unusual activity that might indicate exploitation.

Mitigation Strategies

Immediate mitigation steps include:

  • Restrict admin account access to trusted personnel only to reduce the risk of malicious payload injection.
  • Audit the email content stored in the database for suspicious or malicious JavaScript payloads and remove or sanitize them.
  • Monitor client accounts for unusual activity that could indicate exploitation of the vulnerability.
  • Upgrade FOSSBilling to version 0.8.0 or later, where the vulnerability has been fixed.
Compliance Impact

The vulnerability allows an attacker with admin access to inject malicious JavaScript into email content viewed by clients, potentially leading to unauthorized access or data exposure through cross-site scripting (XSS). This could impact compliance with standards like GDPR and HIPAA, which require protection of personal data and secure handling of client information.

Specifically, the risk of executing malicious scripts in clients' browsers may lead to data breaches or unauthorized data processing, which are violations under these regulations.

Mitigations such as restricting admin access, auditing email content, and monitoring client accounts are recommended to reduce compliance risks.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-53641. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart