Skip to content

Commit 4cdf217

Browse files
committed
fix(security): escape attributes in mustache templates
GHSA-jfj7-249r-7j2m
1 parent 3a23b70 commit 4cdf217

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/templates/Tabs.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<div {{#array-attributes}} {{key}}="{{{value}}}"{{/array-attributes}}>{{!
1+
<div {{#array-attributes}} {{key}}="{{value}}"{{/array-attributes}}>{{!
22
}}<header class="tabber__header">{{!
33
}}<button class="tabber__header__prev" tabindex="-1" type="button" aria-hidden="true"></button>{{!
44
}}<nav class="tabber__tabs" role="tablist">{{!
55
}}{{#array-tabs}}{{!
6-
}}<a class="tabber__tab" role="tab"{{#array-tab-attributes}} {{key}}="{{{value}}}"{{/array-tab-attributes}}>{{{label}}}</a>{{!
6+
}}<a class="tabber__tab" role="tab"{{#array-tab-attributes}} {{key}}="{{value}}"{{/array-tab-attributes}}>{{{label}}}</a>{{!
77
}}{{/array-tabs}}{{!
88
}}</nav>{{!
99
}}<button class="tabber__header__next" tabindex="-1" type="button" aria-hidden="true"></button>{{!

0 commit comments

Comments
 (0)