VDB
KO
CRITICAL 9.3

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.openidentityplatform.openam:openam-oauth2
Introduced in: 13.0.0 Fixed in: 16.1.1
Fix # pom.xml: bump <version>16.1.1</version> for org.openidentityplatform.openam:openam-oauth2

References