Skip to content
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.

Default error page possible XSS #224

Merged
merged 1 commit into from Jan 2, 2014

Conversation

weierophinney
Copy link
Member

Hello!

The default error page:
module/Application/view/error/index.phtml
is vulnerable to Cross-Site-Scripting issues, if the exception message (and to a limited extend also a string parameter in the call-stack) contains user supplied input.
All outputs of "getMessage()" and "getTraceAsString()" should be guarded by "$this->escapeHtml(...)".
Affected are the lines 17, 21, 41 & 45.

Best regards,

Das

@ghost ghost assigned Maks3w Jan 2, 2014
Maks3w added a commit that referenced this pull request Jan 2, 2014
@Maks3w Maks3w merged commit 7a3791d into zendframework:master Jan 2, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants