You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrapping this in script tags nicely avoids any issues with the HTML parser getting confused by the <%= ... %> pseudo-tags, and ensures browsers will ignore it. When the site is cloned, previewing or viewing the resulting clone will execute the stored page as an ERB template, evaluating the code above:
If a target page to be cloned returns ERB code, I believe the calls to:
render :inline => @clone.page
https://github.com/pentestgeek/phishing-frenzy/blob/master/app/views/clones/show.html.erb#L15
https://github.com/pentestgeek/phishing-frenzy/blob/master/app/views/clones/preview.html.erb
will execute that embedded code. It is not safe to pass untrusted input to an inline render.
The text was updated successfully, but these errors were encountered: