High 8.0 CVSS 3.1 Core Published on 2026-08-18

Formula injection in CSV exports (CSV injection)

CVENo CVE assigned GHSAGHSA-w6j9-q9rq-wrqg
View at the source View JSON Last modified at the source: 2026-08-18

Description

Formula injection in CSV exports (CSV injection)

Impact

This is a formula injection issue in the files exported by PrestaShop, commonly known as CSV injection.

Spreadsheet applications treat cells beginning with certain characters as formulas rather than text. PrestaShop wrote exported values as-is, without neutralising those characters.

The person at risk is not the shop server but whoever opens the export: a merchant, an employee, an accountant, or the customer themselves for the GDPR export.

Patches

Upgrade to 9.1.5 or 8.2.8

Workarounds

The risk can be reduced without upgrading, though this relies on merchant discipline rather than on the application:

  • do not open exported CSV files by double-clicking them, open your spreadsheet application first and use its text-import wizard, setting every column to "text";
  • keep your spreadsheet application up to date and never accept a prompt asking to enable content or update links when opening an export;
  • if you only need to read an export, open it in a plain text editor;
  • correct any back-office value that looks unusual, for example an alias or a name starting with =, +, - or @ — before exporting.

References

_Credits: this vulnerability was responsibly reported to the PrestaShop security team by Suphawith Phusanbai (ILOVEPEPPERONI). We thank them for their report and for coordinating the disclosure with us.

Original text by GitHub Security Advisory, licenseCC BY 4.0.

CVSS metrics 3.1

Source: github.com · secondary
High 8.0
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Attack vectorNetwork
ComplexityHigh
Privileges requiredLow
User interactionRequired
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

References

Found a vulnerability?

Write to the PrestaShop core security team:

security-core@prestashop.com

Related advisories

Same component: PrestaShop core
All core advisories (94)
IDAdvisoryComponentSeverityAffected versionsPublishedFix
GHSA-whxq-pxj5-qq7v SQL injection through back-office list filters Core Medium 6.5 ≥ 9.0.0 < 9.1.5
≥ 8.0.0 < 8.2.8
2026-08-18 Yes
GHSA-2cr4-vw9p-pjvf Client IP address can be spoofed through the X-Forwarded-For header Core High 7.3 ≥ 9.0.0 < 9.1.5
≥ 8.0.0 < 8.2.8
2026-08-18 Yes

Is your shop on 9.x ≥ 9.0.0 < 9.1.5, 8.x ≥ 8.0.0 < 8.2.8?

PrestaShield checks it from the outside, without FTP access, and alerts you of every new advisory that affects you.
Check if my shop is affected