CVE-2021-21418
MEDIUM 5.4CVSS 3.1Potential XSS injection in the newsletter conditions field
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
- Published
- 31 Mar 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-vwfx-hh3w-fj99
- Sources
- NVDJSONOSV GHSA-vwfx-hh3w-fj99JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | prestashop | ps_emailsubscriptioncpe:2.3:a:prestashop:ps_emailsubscription:*:*:*:*:*:prestashop:*:* |
>= 2.6.0, < 2.6.1 | 2.6.1 |
| OSV | Packagist | prestashop/ps_emailsubscription | < 2.6.1 | 2.6.1 |
References
- https://github.com/PrestaShop/ps_emailsubscription/commit/664ffb225e2afb4a32640bbedad667dc6e660b70 · Patch, Third Party Advisory, WEB
- https://github.com/PrestaShop/ps_emailsubscription/releases/tag/v2.6.1 · Release Notes, Third Party Advisory, WEB
- https://github.com/PrestaShop/ps_emailsubscription/security/advisories/GHSA-vwfx-hh3w-fj99 · Third Party Advisory, WEB
- https://packagist.org/packages/prestashop/ps_emailsubscription · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-21418 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Mar 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Apr 2021)