Skip to content

Commit b0e5651

Browse files
committed
MC-15311: [Sec] PageBuilder XSS Injection Possible Through Block on HTML Code Content Type For CSS Classes Attribute & in TinyMCE
Pass argument off to $proceed in both cases
1 parent 24c6189 commit b0e5651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageBuilder/Plugin/Filter/TemplatePlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function aroundCustomvarDirective(
123123
$shouldEscape = $subject->getStoreId() !== null && (int) $subject->getStoreId() === 0;
124124

125125
if (!$shouldEscape) {
126-
return $proceed();
126+
return $proceed($construction);
127127
}
128128

129129
$result = $proceed($construction);

0 commit comments

Comments
 (0)