Gradle Technologies is now Develocity — read the announcement

← All advisories

CSRF prevention token is overridable by user code

Affected product(s)
  • Gradle Enterprise 2018.2 - 2020.2.4
Severity
High
Published
September 15, 2020
Related CVE ID(s)

Description

The CSRF prevention token is stored in a request cookie that is not annotated as HttpOnly. An attacker with the ability to execute arbitrary code in a user's browser could impose an arbitrary value for this token, allowing them to perform cross-site request forgery.

Mitigation

Upgrade to Gradle Enterprise 2020.2.5.

Credit

This issue was responsibly reported by Compass Security.

© 2026 Gradle, Inc. Gradle®, Develocity®, Build Scan®, and the Gradlephant logo are registered trademarks of Gradle, Inc.

Get an AI summary of Develocity: