CVE-2021-21418

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

Severity
MEDIUM
CVSS v3
4.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N · source cna
Exploit chance (EPSS)
0.786%
chance of exploitation in the next 30 days
higher than 56.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2021-03-31Published by the CNA17:35 UTC
  2. 2021-04-06GitHub advisory published (GHSA-vwfx-hh3w-fj99)6 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-vwfx-hh3w-fj99, affected packages:

PackageVulnerable versionsFixed in
Packagist prestashop/ps_emailsubscriptionbefore 2.6.12.6.1

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
prestashop ps_emailsubscriptionfrom 2.6.0 before 2.6.1fixed in 2.6.12.6.1

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources