mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-25 10:21:36 -04:00
Fix XSS vulnerability in tax invoice view (#4432)
Co-authored-by: Ollama <ollama@steganos.dev>
This commit is contained in:
@@ -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; ?>
|
||||
|
||||
Reference in New Issue
Block a user