CVE-2021-21418Prestashop Ps Emailsubscription
Medium 5.4
Follow: this CVE · Prestashop · Prestashop Ps Emailsubscription We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 57
- Auth required
- Yes
- Published
- Mar 31, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
ps_emailsubscription is a newsletter subscription module for the PrestaShop platform. An employee can inject javascript in the newsletter condition field that will then be executed on the front office The issue has been fixed in 2.6.1
What to do
- Apply the vendor's security update for Ps Emailsubscription.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | prestashop/ps_emailsubscription |
< 2.6.1 |
2.6.1 |
composer require "prestashop/ps_emailsubscription:^2.6.1" |
Per OSV / GitHub Advisories (GHSA-vwfx-hh3w-fj99). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| prestashop | ps_emailsubscription | ≥ 2.6.0 < 2.6.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Third Party Advisory
- packagist.org Third Party Advisory