{"id":"CVE-2021-21418","published":"2021-03-31T17:35:15Z","modified":"2024-08-03T18:09:16Z","title":"Potential XSS injection in the newsletter conditions field","vendor":"PrestaShop","product":"ps_emailsubscription","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00786,"percentile":0.5265,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/PrestaShop/ps_emailsubscription/security/advisories/GHSA-vwfx-hh3w-fj99","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/PrestaShop/ps_emailsubscription/commit/664ffb225e2afb4a32640bbedad667dc6e660b70","tags":["x_refsource_MISC"]},{"url":"https://github.com/PrestaShop/ps_emailsubscription/releases/tag/v2.6.1","tags":["x_refsource_MISC"]},{"url":"https://packagist.org/packages/prestashop/ps_emailsubscription","tags":["x_refsource_MISC"]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":10.53},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"prestashop","affectedVersions":[{"vendor":"PrestaShop","product":"ps_emailsubscription","versions":["< 2.6.1"]}],"affected":[{"ecosystem":"Packagist","package":"prestashop/ps_emailsubscription","vulnerableRanges":["<2.6.1"],"patched":["2.6.1"],"from":["GHSA-vwfx-hh3w-fj99"],"provenance":"source"}],"summary":{"text":"The ps_emailsubscription newsletter subscription module for PrestaShop contains a cross-site scripting flaw in its newsletter conditions field, where input is not properly neutralised before being rendered. An attacker with low-privilege (employee-level) access who can get a user to interact with the page can inject JavaScript into the newsletter conditions field, which then executes on the front office.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:48Z"},"euvd":{"id":"EUVD-2021-0883","exploited":false,"provenance":"source"}}