Skip to content

Potential XSS injection in the newsletter conditions field

Moderate severity GitHub Reviewed Published Mar 31, 2021 in PrestaShop/ps_emailsubscription • Updated Feb 1, 2023

Package

composer prestashop/ps_emailsubscription (Composer)

Affected versions

< 2.6.1

Patched versions

2.6.1

Description

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

References

@atomiix atomiix published to PrestaShop/ps_emailsubscription Mar 31, 2021
Reviewed Mar 31, 2021
Published by the National Vulnerability Database Mar 31, 2021
Published to the GitHub Advisory Database Apr 6, 2021
Last updated Feb 1, 2023

Severity

Moderate
4.6
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2021-21418

GHSA ID

GHSA-vwfx-hh3w-fj99

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.