Open
Description
Preconditions and environment
- Magento version 2.4.6-p6, probably works on 2.4.7-p1 as well
Steps to reproduce
- Install a fresh Magento latest version with sample data
- Register as a customer and login
- Add a product to the wishlist
- Click to share the wishlist
- Add the following code to the wishlist share message:
{{var this.getTempl%0d%0aateFilter().filter(%22ls -al%22)}}{{if this.getTempla%0d%0ateFilter().addAft%0d%0aerFilterCallback(%22SySTeM%22).filter(%22ls -al%22)}}{{/if}}
Expected result
Magento should block the sending of this type of text and not allow template injection
Actual result
An email with the code is fired out with no error raised
Additional information
It's a sister issue of
#38331
and
#39002
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedA defect with this priority could have functionality issues which are not to expectations.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchAffects critical data or functionality and forces users to employ a workaround.