ADVISORIES

GitHub Advisory Database

GHSA-fq9h-c788-fx73

OpenAM has pre-auth Reflected XSS in OAuth2 / OIDC response_mode=form_post via state parameter (FormPostResponse.ftl)

Details

Summary

The OAuth 2.0 / OpenID Connect authorization endpoint does not sufficiently sanitize certain user-supplied parameters before incorporating them into the HTML response generated for the form_post response mode. This may allow an attacker to inject content into the rendered page in the context of the OpenAM origin.

Affected packages

EcosystemPackageAffected versions
Mavenorg.openidentityplatform.openam:openam-oauth2
From 13.0.0 before 16.1.1 (fixed in 16.1.1)

References