Skip to content


Merge pull request #6288 from wallabag/2.5/xss-username-share-page
Browse files Browse the repository at this point in the history
Fix XSS on username on share page
  • Loading branch information
j0k3r committed Feb 7, 2023
2 parents acd285d + bd4c716 commit 4e023bd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -28,7 +28,7 @@
<header class="block">
<h1>{{ entry.title|e|raw }}</h1>
<a href="{{ entry.url|e }}" target="_blank" rel="noopener" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|e|raw }}" class="tool">{{ entry.domainName|removeWww }}</a>
<p class="shared-by">{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username})|raw }}.</p>
<p class="shared-by">{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username|escape})|raw }}.</p>
<article class="block">
{{ entry.content | raw }}
Expand Down

0 comments on commit 4e023bd

Please sign in to comment.