Merge pull request #38331 from ShrihariMahabal/complete-signup-xss
fix(security): escape 'key' parameter in complete signup
This commit is contained in:
commit
576bcfdefc
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
<form role="form form-signin" method="POST"
|
||||
action="/api/method/frappe.templates.pages.login.login_oauth_user">
|
||||
<h3 class="form-signin-heading mb-4">{{ _("One Last Step") }}</h3>
|
||||
<input type="hidden" name="key" value="{{ frappe.form_dict.key }}">
|
||||
<input type="hidden" name="key" value="{{ frappe.form_dict.key | e }}">
|
||||
<div class="form-group">
|
||||
<input type="email" name="email_id"
|
||||
class="form-control" placeholder="{{ _('Email Address') }}" required autofocus>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue