Fix XSS vulnerability in tax invoice view (#4432)

Co-authored-by: Ollama <ollama@steganos.dev>
This commit is contained in:
jekkos
2026-03-13 16:09:04 +00:00
committed by GitHub
parent ee4d44ed39
commit 02fccaf43f

View File

@@ -139,7 +139,7 @@ if (isset($error_message)) {
if ($item['print_option'] == PRINT_YES) { // TODO: === ?
?>
<tr class="item-row">
<td><?= $item['item_number'] ?></td>
<td><?= esc($item['item_number']) ?></td>
<?php if ($include_hsn): ?>
<td style="text-align: center;"><?= esc($item['hsn_code']) ?></td>
<?php endif; ?>