We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Proper escaping of attributes stateOneTitle, stateTwoTitle, stateThreeTitle.
stateOneTitle
stateTwoTitle
stateThreeTitle
The mentioned attributes are not escaped at all.
Modify first p:triStateCheckbox of showcase to <p:triStateCheckbox value="#{triStateCheckboxView.value1}" stateOneTitle="" onmouseover="alert('stateOneTitle xss');" " stateTwoTitle="" onmouseover="alert('stateTwoTitle xss');" " stateThreeTitle="" onmouseover="alert('stateThreeTitle xss');" "/>
p:triStateCheckbox
<p:triStateCheckbox value="#{triStateCheckboxView.value1}" stateOneTitle="" onmouseover="alert('stateOneTitle xss');" " stateTwoTitle="" onmouseover="alert('stateTwoTitle xss');" " stateThreeTitle="" onmouseover="alert('stateThreeTitle xss');" "/>
Hovering first checkbox will trigger alert box.
see above
showcase
The text was updated successfully, but these errors were encountered:
@tandraschko Could you please add the security label? Thanks.
Pull request: #3773. Please carefully read the PR comment.
Sorry, something went wrong.
Ah okay, @Rapster is a member now and also may add those labels. 😉
91ac62c
No branches or pull requests
1) Environment
2) Expected behavior
Proper escaping of attributes
stateOneTitle
,stateTwoTitle
,stateThreeTitle
.3) Actual behavior
The mentioned attributes are not escaped at all.
4) Steps to reproduce
Modify first
p:triStateCheckbox
of showcase to<p:triStateCheckbox value="#{triStateCheckboxView.value1}" stateOneTitle="" onmouseover="alert('stateOneTitle xss');" " stateTwoTitle="" onmouseover="alert('stateTwoTitle xss');" " stateThreeTitle="" onmouseover="alert('stateThreeTitle xss');" "/>
Hovering first checkbox will trigger alert box.
5) Sample XHTML
see above
6) Sample bean
showcase
The text was updated successfully, but these errors were encountered: