Play Framework Security Advisory

XSS injection from URL parameter

Date

05 May 2015

Description

An XSS vulnerability has been found in Play’s URL rendering.

Impact

Any application that uses Play’s URL rendering.

Affected Versions

Workarounds

Encode parameter before using it,

@{Controller.action(parameterWithInjection?.urlEncode())}

Fixes

Upgrade to the appropriate version below:

CVSS metrics (more info)

Acknowledgements

Credit for finding this vulnerability goes to Ricardo Martín from ElevenPaths.