Back to Database
Status published
Medium
CVE-2021-21418
Potential XSS injection in the newsletter conditions field
Vulnerability 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
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
THREAT MONITOR
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-21418
Credits & Attribution
No credits recorded in the NVD database.
References
- https://github.com/PrestaShop/ps_emailsubscription/security/advisories/GHSA-vwfx-hh3w-fj99
- https://github.com/PrestaShop/ps_emailsubscription/commit/664ffb225e2afb4a32640bbedad667dc6e660b70
- https://github.com/PrestaShop/ps_emailsubscription/releases/tag/v2.6.1
- https://packagist.org/packages/prestashop/ps_emailsubscription
More from PrestaShop
View All →CVE-2025-24027
ps_contactinfo has potential XSS due to usage of the nofilter tag in template
Medium
6.2
CVE-2024-34717
Anonymous PrestaShop customer can download other customers' invoices
Medium
5.3
CVE-2024-34716
PrestaShop vulnerable to XSS via customer contact form in FO, through file upload
Critical
9.7
CVE-2024-26129
Prestashop vulnerable to path disclosure in JavaScript variable
Medium
5.8
CVE-2024-21628
XSS can be stored in DB from "add a message form" in order detail page (FO)
Medium
5.4
Affected Vendor
PrestaShop
View all reports →Affected Software
ps_emailsubscription
Vulnerable Versions:
< 2.6.1
Timeline
Official Publish:
March 31st, 2021
Last Modified:
August 3rd, 2024
Added to House:
July 21st, 2026
CVSS Vectors
V3:
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N