# CVE-2026-53641: FOSSBilling has stored XSS in client email views via unescaped content in JavaScript template literal

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.8
- **CVSS:** 4.8 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: High; User interaction: Passive; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.44% (percentile 30, 2026-11-26)
- **CWE:** CWE-79, CWE-838
- **Published:** 2026-07-06T22:36:38.105Z
- **Modified:** 2026-07-08T20:16:52.437Z

## Who should check

- Anyone running FOSSBilling \>= 0.6.0, \< 0.8.0

## 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.

## Affected and fixed versions

- FOSSBilling: \>= 0.6.0, \< 0.8.0 (cvelist)

## Mitigation

- Upgrade FOSSBilling to 0.8.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53641. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53641.md
Affected: FOSSBilling >= 0.6.0, < 0.8.0
Fixed in: FOSSBilling 0.8.0

Steps:
1. Search this machine and project for FOSSBilling: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53641 being exploited?

There is no confirmed exploitation: CVE-2026-53641 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.44% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-53641?

Medium: CVSS 4.8 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-53641?

FOSSBilling \>= 0.6.0, \< 0.8.0.

### Is there a fix for CVE-2026-53641?

Yes. Fixed in FOSSBilling 0.8.0. Upgrade FOSSBilling to 0.8.0 or later.

### How do I check if I'm affected by CVE-2026-53641?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/FOSSBilling/FOSSBilling/security/advisories/GHSA-q6c8-6r72-35f7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53641>

HTML: <https://flawdb.com/CVE-2026-53641> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53641>
