CVE-2026-18738

Shlink CSV Formula Injection via Visit Export CLI

Published Aug 3, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
Shlink versions 5.0.0 through 5.1.5 contain a CSV formula injection vulnerability that allows unauthenticated remote attackers to plant spreadsheet formulas into exported visit data by supplying malicious values in User-Agent, Referer, or request path headers beginning with formula-triggering characters such as =, +, -, or @. Attackers can craft a single unauthenticated request against any short URL to embed DDE or WEBSERVICE formula payloads into CSV cells, which are then executed on an administrator's client machine when the exported CSV file is opened in a spreadsheet application that evaluates formulas.

Analysis

AI-generated

Technical impact

Shlink versions 5.0.0 through 5.1.5 contain a CSV formula injection flaw (CWE‑1236) that lets an unauthenticated attacker embed spreadsheet formulas in visit export data by inserting malicious header values beginning with characters such as =, +, -, or @ in the User‑Agent, Referer, or request path headers. When an exported CSV file is opened in a spreadsheet application that evaluates formulas, the injected DDE or WEBSERVICE payloads execute on the client, potentially allowing the attacker to run code or exfiltrate data.

Affected Systems

The affected product is Shlink by shlinkio. Vulnerable releases span from 5.0.0 up to and including 5.1.5; any installation of Shlink in that range that exposes CSV visit exports is at risk.

Risk and Exploitability

The vulnerability scores 5.1 on CVSS, indicating moderate severity, and its EPSS score is not available. It is not listed in CISA’s KEV catalog. Exploitation requires an unauthenticated HTTP request to a short URL that triggers the visit export; the attacker supplies the malicious header values, and then a victim who opens the resulting CSV in a spreadsheet that automatically evaluates formulas can be compromised. The risk is heightened when administrators frequently import exported data into spreadsheet software that enables formula execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Shlink to the latest release that fixes this issue (≥ 5.1.6).
  • Configure the export endpoint to reject or escape any header values that begin with '=', '+', '-', or '@' before including them in the CSV output.
  • Instruct administrators to disable automatic formula calculation when opening downloaded CSV files, or to first open the file with a plain‑text editor to verify its contents.

Generated by OpenCVE AI on August 4, 2026 at 09:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Shlink
Shlink shlink
Vendors & Products Shlink
Shlink shlink
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Shlink versions 5.0.0 through 5.1.5 contain a CSV formula injection vulnerability that allows unauthenticated remote attackers to plant spreadsheet formulas into exported visit data by supplying malicious values in User-Agent, Referer, or request path headers beginning with formula-triggering characters such as =, +, -, or @. Attackers can craft a single unauthenticated request against any short URL to embed DDE or WEBSERVICE formula payloads into CSV cells, which are then executed on an administrator's client machine when the exported CSV file is opened in a spreadsheet application that evaluates formulas.
Title Shlink CSV Formula Injection via Visit Export CLI
Weaknesses CWE-1236
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-1236

    Improper Neutralization of Formula Elements in a CSV File

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 4, 2026, 3:05 PM
Reserved
Aug 3, 2026, 8:03 PM
Status
Deferred
Published
Aug 3, 2026, 9:16 PM
Modified
Oct 23, 2026, 9:10 PM