github-code-scanning[bot] commented on code in PR #3752:
URL: https://github.com/apache/myfaces-tobago/pull/3752#discussion_r1102976741
##########
tobago-theme/tobago-theme-standard/src/main/ts/tobago-select-many-list.ts:
##########
@@ -148,11 +149,11 @@
// create badge
const tabIndex: number = this.filterInput.tabIndex;
this.filterInput.insertAdjacentHTML("beforebegin",
- this.getRowTemplate(itemValue, row.innerText, option.disabled ||
this.hiddenSelect.disabled, tabIndex));
+ this.getRowTemplate(itemValue, row.innerText, option.disabled ||
this.hiddenSelect.disabled, tabIndex));
Review Comment:
## DOM text reinterpreted as HTML
[DOM text](1) is reinterpreted as HTML without escaping meta-characters.
[DOM text](2) is reinterpreted as HTML without escaping meta-characters.
[Show more
details](https://github.com/apache/myfaces-tobago/security/code-scanning/53)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]