CVE-2026-53641

FOSSBilling has stored XSS in client email views via unescaped content in JavaScript template literal

Published Jul 6, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

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.

Affected Systems

The affected system is the FOSSBilling billing and client‑management platform. All releases from version 0.6.0 up to and including 0.7.2 are vulnerable. Version 0.8.0 contains the vendor fix.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity. The exploitation requires administrator privileges, limiting the attack surface to compromised or weak admin accounts. The EPSS score of less than 1% suggests a very low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalogue. In the event of exploitation, the malicious JavaScript would run within the browsers of clients who view the compromised email history, potentially compromising client‑side trust.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FOSSBilling to version 0.8.0 or later to apply the vendor fix.
  • If an upgrade is not possible, restrict administrator access and enforce strict access controls on the admin interface.
  • Audit the email content stored in the database for suspicious or unexpected HTML/JavaScript payloads and clean or remove any that are not legitimate.
  • Optionally monitor client accounts for unusual activity to detect exploitation.

Generated by OpenCVE AI on August 1, 2026 at 17:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Fossbilling
Fossbilling fossbilling
Vendors & Products Fossbilling
Fossbilling fossbilling
Type Values Removed Values Added
Title Stored XSS in client email views via unescaped content in JavaScript template literal FOSSBilling has stored XSS in client email views via unescaped content in JavaScript template literal
Type Values Removed Values Added
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.
Title Stored XSS in client email views via unescaped content in JavaScript template literal
Weaknesses CWE-79
CWE-838
References
Metrics cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-838

    Inappropriate Encoding for Output Context

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 8, 2026, 7:41 PM
Reserved
Jun 9, 2026, 8:16 PM
Status
Deferred
Published
Jul 6, 2026, 11:16 PM
Modified
Jul 8, 2026, 8:16 PM