Skip to content

Commit 9c128f2

Browse files
williamdesDeepSeek
andcommitted
security: Escape the developer name in the header
The full name comes from the GitHub API response stored at login and was printed unescaped in the header of every page since b37b319. Co-authored-by: DeepSeek <noreply@deepseek.com> Signed-off-by: William Desportes <williamdes@wdes.fr>
1 parent 25f6414 commit 9c128f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎templates/layout/default.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<?php if (isset($current_developer) && $current_developer !== null) : ?>
8181
<li>
8282
<p class="navbar-text">
83-
Hello, <?= $current_developer['full_name']; ?>
83+
Hello, <?= h($current_developer['full_name']); ?>
8484
</p>
8585
</li>
8686
<li>

0 commit comments

Comments
 (0)