-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Escaped tags parsed as non-escaped in title and data-content #2199
Comments
You're right - the title is not being escaped properly. However, there's nothing that can be done about the escaped content (as its purpose is to display HTML). Since &lt;i&gt;italicized text&lt;/i&gt; instead of <i>italicized text</i> |
…onsistincy across option and button) prevent HTML inside subtext escape option title (#2199) remove now unused htmlUnescape function
I understand You want to have an option to define |
Can you elaborate a bit? What specifically do you want mentioned in the documentation? I added a note about the potential for an XSS attack when using the data-content feature in commit d2333c8. Unfortunately, |
Something like you've written but I would also mention that it converts HTML-escaped characters to their real value like BTW thanks for really good component. |
+1, and many thanks @caseyjhol for your dedication to handle security issues! 👏 |
Released in v1.13.6! |
Retrospectively, CVE-2019-20921 has been assigned to this issue. |
The bootstrap-select does not respect escaped content correctly. Instead the escaped content is rendered as it would not be escaped.
Sample can be seen here: https://jsfiddle.net/b1dhf8ec/2/
The text was updated successfully, but these errors were encountered: