Skip to content

Commit 268511f

Browse files
committed
Wrap items in htmlspecialchars
1 parent 8b460fb commit 268511f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Message/PurchaseRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function getData()
146146
$itemsHtml .= "<li>{$item['quantity']} x {$item['name']}</li>";
147147
}
148148
$itemsHtml .= '</ul>';
149-
$transaction->addChild('items', $itemsHtml);
149+
$transaction->addChild('items', htmlspecialchars($itemsHtml));
150150
}
151151

152152
if ('IDEAL' === $this->getGateway() && $this->getIssuer()) {

0 commit comments

Comments
 (0)