All vulnerabilities

Servers and applications

GHSA-2cr4-vw9p-pjvf

Client IP address can be spoofed through the X-Forwarded-For header

Severity
High 7.3
Published
18 Aug 2026
Last changed
18 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
8.2.8, 9.1.5
Attack
Over the network · No login needed · No user action needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Sources
Project advisories (GitHub)

Description

This is an IP address spoofing issue that can lead to access control bypass.

When a shop runs behind a reverse proxy, a load balancer or a CDN, the visitor's real IP address is passed to PrestaShop through an HTTP header. PrestaShop read the wrong end of that header, the part controlled by the visitor, rather than the part appended by the shop's own proxy.

Any visitor could therefore make the shop believe they were connecting from any address of their choosing, which undermines every feature relying on it: the maintenance-mode IP allow-list could be bypassed, security and audit logs could be filled with forged addresses, and third-party protections such as geolocation blocking, fraud scoring or rate limiting could be evaded.

Shops served through a reverse proxy, a load balancer or a CDN are impacted, which covers most production deployments. Shops where visitors connect directly to the web server are not affected. No account and no user interaction are needed.

From PrestaShop/PrestaShop's security advisory. Shortened; the full text is there.

Workarounds

The issue can be fully mitigated at the proxy level, and we recommend doing so in addition to upgrading. Your front-end proxy must overwrite the forwarding header with the address it actually sees, instead of passing on whatever the visitor sent.

Workarounds as given by PrestaShop/PrestaShop's security advisory.

Affected software

SoftwareAffected versions
PrestaShopServers and applications · github:prestashop/prestashop
  • From 8.0.0 before 8.2.8
  • From 9.0.0 before 9.1.5

About PrestaShop

open source e-commerce solution

From Wikidata, CC0 1.0.
Share of websites with a known CMS
0.7%W3Techs, Nov 2026
Monthly downloads (Packagist)
4,181Packagist, 15 Nov 2026
Total downloads (Packagist)
28,233Packagist, 15 Nov 2026
Docker Hub pulls
8,056,915Docker Hub, 15 Nov 2026
GitHub stars
9,256GitHub, 15 Nov 2026
Forks
5,058GitHub, 15 Nov 2026
Latest release
9.2.1GitHub, 15 Nov 2026
Released
9 Nov 2026GitHub
Developer
PrestaShop SAWikidata
License
Open Software LicenseWikidata
Written in
PHPWikidata
First published on GitHub
19 Nov 2012GitHub

References