-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
fix(core): Sanitise IdP provided information in SAML test pages #11171
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for removing the template strings from the handlebars templates. we can now extract these into separate files in packages/cli/templates
, and pre-compile these the way we do for oauth and form pages.
If you prefer we can do this in a separate PR.
e04c586
to
b677b9a
Compare
n8n
|
Project |
n8n
|
Branch Review |
sec-143-cross-site-scripting-cwe-79
|
Run status |
|
Run duration | 04m 25s |
Commit |
|
Committer | कारतोफ्फेलस्क्रिप्ट™ |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
3
|
|
0
|
|
0
|
|
458
|
View all changes introduced in this branch ↗︎ |
✅ All Cypress E2E specs passed |
44e806c
to
54431a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this code still needs a lot more work. but for now I've moved my changes to a separate branch here, so that we can merge this to please the compliance gods.
✅ All Cypress E2E specs passed |
Got released with |
Summary
If an owner tested logging in via SAML, it was possible for a self inflicted XSS to occur on the results pages.
Related Linear tickets, Github issues, and Community forum posts
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)