Formula injection protection can be bypassed in generated exports
Summary
Filament's optional CSV formula injection protection is intended to ensure that formula-like values are delivered as plain text. In affected versions, values returned as Stringable objects and certain CSV serialization edge cases could bypass this protection, causing attacker-controlled text to ap...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| composerfilament/actions |
>= 4.12.0, < 4.17.1→ >= 4.17.1 |
>= 4.17.1 |
| composerfilament/actions |
>= 5.7.0, < 5.12.1→ >= 5.12.1 |
>= 5.12.1 |
Original description The description as published by the source.
Filament's optional CSV formula injection protection is intended to ensure that formula-like values are delivered as plain text. In affected versions, values returned as Stringable objects and certain CSV serialization edge cases could bypass this protection, causing attacker-controlled text to appear as an unprotected formula cell in generated CSV or XLSX files. Protected failed-import CSVs were also affected by the serialization issue.
An attacker must be able to control text included in an affected file, and a victim must download and open it. Formula execution depends on the spreadsheet client and its security settings and may be blocked or require confirmation. The issue does not execute code on the Filament server.
Discovered by Anthropic's OSS Scanner as vulnerability ANT-2026-93L8KKAG.
Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
References
- GITHUB_REPO_ADVISORY filamentphp/filament