Enhance security by adding DOMPurify sanitization comments in newsletter and Vereins components, and update path handling comments in server utilities to address potential path traversal vulnerabilities.
This commit is contained in:
@@ -166,6 +166,8 @@
|
||||
Keine Empfänger gefunden
|
||||
</span>
|
||||
</div>
|
||||
<!-- nosemgrep: javascript.vue.security.audit.xss.templates.avoid-v-html -->
|
||||
<!-- content is sanitized with DOMPurify via useSanitizeHtml -->
|
||||
<div
|
||||
class="text-sm text-gray-600 prose prose-sm max-w-none mb-3"
|
||||
v-html="useSanitizeHtml(post.content.substring(0, 200) + (post.content.length > 200 ? '...' : ''))"
|
||||
|
||||
Reference in New Issue
Block a user