mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Fix some more XSS vulnerabilities
Escape strings properly using htmlspecialchars(). Seems like we missed these in former cleanups. Fixes FS#28515. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
e53b91fe52
commit
6f6904db3f
3 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@
|
|||
<td class="boxSoft">
|
||||
<span class="f4"><span class="blue">
|
||||
<a href="packages.php?ID=<?php print intval($row["ID"]); ?>">
|
||||
<?php print $row["Name"] . ' ' . $row["Version"]; ?>
|
||||
<?php print htmlspecialchars($row["Name"]) . ' ' . htmlspecialchars($row["Version"]); ?>
|
||||
</a></span></span>
|
||||
</td>
|
||||
<td class="boxSoft">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue