4.6medium
Potential XSS injection in the newsletter conditions field
- Severity
- 4.6medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.79% (higher than 57% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-vwfx-hh3w-fj99
Description
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| PrestaShop ps_emailsubscription | < 2.6.1, from 2.6.0 before 2.6.1 | CVE List, NVD |
| prestashop/ps_emailsubscription (Packagist) | before 2.6.1 | GitHub Advisory Database |
All scores
| GitHub_M | 4.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| GitHub | 4.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
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
GitHub Advisory Database
Impact
An employee can inject javascript in the newsletter condition field that will then be executed on the front office
Patches
The issue has been fixed in 2.6.1
NVD (es)
ps_emailsubscription es un módulo de suscripción al boletín para la plataforma PrestaShop. Un empleado puede inyectar javascript en el campo de condición del boletín que luego se ejecutará en la oficina principal. El problema se ha solucionado en la versión 2.6.1.
References
| https://github.com/PrestaShop/ps_emailsubscription/security/advisories/GHSA-vwfx-hh3w-fj99 | third-party-advisory, web | |
| 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://packagist.org/packages/prestashop/ps_emailsubscription | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-21418 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21418 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vwfx-hh3w-fj99 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-21418 changed 2026-06-17 | Public domain |