Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-53641
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 11:01 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 6 Jul 2026, 22:36 UTC

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.

osv:CVE-2026-53641
Complete source record
{
  "id": "6fd0c8847a3af2e2858859477601d69df3232c5640a5030a33ec2ee11c91b498",
  "url": "https://osv.dev/vulnerability/CVE-2026-53641",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "FOSSBilling has stored XSS in client email views via unescaped content in JavaScript template literal",
    "summary": "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.",
    "evidence": "osv:CVE-2026-53641",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-53641",
      "aliases": [
        "CVE-2026-53641",
        "GHSA-q6c8-6r72-35f7"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/fossbilling/fossbilling",
              "type": "GIT",
              "events": [
                {
                  "introduced": "424b84e2c085d4cf702be9969ebd42d6a9e40757"
                },
                {
                  "fixed": "3bd35f5b2921d8a26a403142ae0408f95e6463cc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.6.0"
                      },
                      {
                        "fixed": "0.8.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.6.0"
                      },
                      {
                        "last_affected": "0.7.2"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.7.2",
            "0.7.1",
            "0.7.0",
            "0.6.22",
            "0.6.21",
            "0.6.20",
            "0.6.19",
            "0.6.18",
            "0.6.17",
            "0.6.16",
            "0.6.15",
            "0.6.14",
            "0.6.13",
            "0.6.12",
            "0.6.11",
            "0.6.10",
            "0.6.9",
            "0.6.8",
            "0.6.7",
            "0.6.6",
            "0.6.5",
            "0.6.4",
            "0.6.3",
            "0.6.2",
            "0.6.1",
            "0.6.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53641.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.020930806Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53641.json",
        "https://github.com/FOSSBilling/FOSSBilling/security/advisories/GHSA-q6c8-6r72-35f7",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-53641"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79",
          "CWE-838"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53641.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-53641",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494792,
  "published_at": "2026-07-06T22:36:38.105+00:00"
}