Description
wger before 2.6 fails to sanitize first_name and last_name fields in the gym member TSV export endpoint, allowing any gym member to inject spreadsheet formulas. Attackers can inject formulas like =HYPERLINK to exfiltrate admin data or execute code when admins open the exported file in Excel or LibreOffice Calc.
Published: 2026-09-06
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs because the wger member export endpoint does not sanitize user‑supplied first_name and last_name fields, permitting an attacker to embed spreadsheet formulas within the exported TSV. A compromised formula such as =HYPERLINK can transmit confidential admin data to an external address, and other function attacks could execute code or otherwise manipulate the spreadsheet once an administrator opens the file. This flaw is a classic spreadsheet formula injection (CWE‑1236) and could allow an attacker to gain significant information or perform actions when the exported file is opened in Excel, LibreOffice, or similar office tools.

Affected Systems

The flaw exists in all wger-project:wger installations running any version prior to 2.6. No specific minor patches are identified; the advertised fix applies to the 2.6 release and beyond, eliminating the unsanitized export logic.

Risk and Exploitability

With a CVSS score of 4.8 the vulnerability is classified as moderate severity. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog. Attackers would need to be able to trigger a member export, thus a user with member level access, and then obtain or force an administrator to open the resulting file in a spreadsheet application to exploit the injected formulas. Although the attack vector is limited to the export process, the potential impact on confidentiality and integrity is significant if the attacker’s injected formula is executed.

Generated by OpenCVE AI on September 6, 2026 at 13:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the wger application to version 2.6 or later to ensure the export endpoint sanitizes name fields
  • If an upgrade is not immediately possible, apply a temporary patch that strips leading equals signs, pluses, or minuses from first_name and last_name values before export
  • Implement monitoring to detect TSV exports containing suspicious spreadsheet formulas and restrict the opening of exported files by administrators until the vulnerability is closed

Generated by OpenCVE AI on September 6, 2026 at 13:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 06 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Description wger before 2.6 fails to sanitize first_name and last_name fields in the gym member TSV export endpoint, allowing any gym member to inject spreadsheet formulas. Attackers can inject formulas like =HYPERLINK to exfiltrate admin data or execute code when admins open the exported file in Excel or LibreOffice Calc.
Title wger before 2.6 CSV Formula Injection via member export
First Time appeared Wger
Wger wger
Weaknesses CWE-1236
CPEs cpe:2.3:a:wger:wger:*:*:*:*:*:*:*:*
Vendors & Products Wger
Wger wger
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-06T12:00:30.969Z

Reserved: 2026-09-06T11:35:19.317Z

Link: CVE-2026-86257

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-06T12:17:16.700

Modified: 2026-09-06T12:17:16.700

Link: CVE-2026-86257

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-06T13:30:07Z

Weaknesses
  • CWE-1236

    Improper Neutralization of Formula Elements in a CSV File