Skip to content
Snippets Groups Projects
Commit eb113f86 authored by Olav Morken's avatar Olav Morken
Browse files

openid: Fix cross-site scripting.

Can be exploited by a malicious openid provider to execute scripts
on the host using openid.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2444 44740490-163a-0410-bde0-09ae8108e29a
parent 08e6f797
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ div.error {
Identity URL:
<input type="hidden" name="action" value="verify" />
<input id="openid-identifier" class="openid-identifier" type="text" name="openid_url" value="http://" />
<input type="hidden" name="AuthState" value="<?php echo $this->data['AuthState']; ?>" />
<input type="hidden" name="AuthState" value="<?php echo htmlspecialchars($this->data['AuthState']); ?>" />
<input type="submit" value="Login with OpenID" />
</fieldset>
</form>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment