File tree 2 files changed +5
-1
lines changed
app/code/Magento/PageBuilder/Test/Mftf
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 121
121
<data key =" fieldName" >message</data >
122
122
<data key =" value" >Magento1111111 Page11111111111</data >
123
123
</entity >
124
+ <!-- XSS Payload -->
125
+ <entity name =" PageBuilderXSSPayloadProperty" type =" pagebuilder_xss_payload" >
126
+ <data key =" value" >>< img src=x onerror=throw(1)> </data >
127
+ </entity >
124
128
</entities >
Original file line number Diff line number Diff line change 1394
1394
</actionGroup >
1395
1395
<actionGroup ref =" addCategoryConditionToProductsBlock" stepKey =" addCategory" >
1396
1396
<argument name =" page" value =" ProductsContentTypeForm" />
1397
- <argument name =" category" value =" >< img src=x onerror=throw(1) > " />
1397
+ <argument name =" category" value =" {{PageBuilderXSSPayloadProperty.value}} " />
1398
1398
</actionGroup >
1399
1399
<actionGroup ref =" saveEditPanelSettings" stepKey =" saveEditPanelSettings" />
1400
1400
<!-- Validate Stage -->
You can’t perform that action at this time.
0 commit comments