Skip to content

Commit 5979776

Browse files
committed
fix: [security] stored XSS in the correlation top list
- if an attribute with an XSS payload as its value ends up being in the top list of correlations, then an administrator viewing the top correlations would execute the XSS - as reported by Grzegorz Misiun
1 parent 4c75abb commit 5979776

File tree

1 file changed

+1
-1
lines changed
  • app/View/Elements/genericElements/IndexTable/Fields

1 file changed

+1
-1
lines changed

app/View/Elements/genericElements/IndexTable/Fields/postlink.ctp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@
5757
'%s<a href="#" onclick="event.preventDefault(); %s">%s</a>',
5858
$form,
5959
$onclick,
60-
$text
60+
h($text)
6161
);

0 commit comments

Comments
 (0)