High
Security advisory
When processing authorization requests using the whitelabel views in Spring Security OAuth 2.0.0 to 2.0.9 and 1.0.0 to 1.0.5, the response_type parameter value was executed as Spring SpEL which enabled a malicious user to trigger remote code execution via the crafting of the value for response_type.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-4977
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:38 UTC · Revision 1
Source evidence
When processing authorization requests using the whitelabel views in Spring Security OAuth 2.0.0 to 2.0.9 and 1.0.0 to 1.0.5, the response_type parameter value was executed as Spring SpEL which enabled a malicious user to trigger remote code execution via the crafting of the value for response_type.
osv:CVE-2016-4977
Complete source record
{
"id": "d557e429e10c16b1ea3faacbed2e3683fc814a7df4350c712c125b66d949286b",
"url": "https://osv.dev/vulnerability/CVE-2016-4977",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-4977",
"summary": "When processing authorization requests using the whitelabel views in Spring Security OAuth 2.0.0 to 2.0.9 and 1.0.0 to 1.0.5, the response_type parameter value was executed as Spring SpEL which enabled a malicious user to trigger remote code execution via the crafting of the value for response_type.",
"evidence": "osv:CVE-2016-4977",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2016-4977",
"aliases": [
"CVE-2016-4977",
"GHSA-7q9c-h23x-65fq"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/spring-attic/spring-security-oauth",
"type": "GIT",
"events": [
{
"introduced": "2d6640db09f3c3b7612ec3bf08e7ff8ff2b90cc7"
},
{
"last_affected": "8c9e8ec70eb50542ed86fd4e1d110137e6e8e96b"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:1.0.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.0"
},
{
"last_affected": "1.0.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:1.0.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.1"
},
{
"last_affected": "1.0.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:1.0.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.2"
},
{
"last_affected": "1.0.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:1.0.3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.3"
},
{
"last_affected": "1.0.3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:1.0.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.4"
},
{
"last_affected": "1.0.4"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:1.0.5:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.5"
},
{
"last_affected": "1.0.5"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0"
},
{
"last_affected": "2.0.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.1"
},
{
"last_affected": "2.0.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.2"
},
{
"last_affected": "2.0.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.3"
},
{
"last_affected": "2.0.3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.4"
},
{
"last_affected": "2.0.4"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.5:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.5"
},
{
"last_affected": "2.0.5"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.6:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.6"
},
{
"last_affected": "2.0.6"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.7:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.7"
},
{
"last_affected": "2.0.7"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.8:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.8"
},
{
"last_affected": "2.0.8"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.9:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.9"
},
{
"last_affected": "2.0.9"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.0.0",
"1.0.1",
"1.0.2",
"1.0.3",
"1.0.4",
"1.0.5",
"2.0.0",
"2.0.1",
"2.0.2",
"2.0.3",
"2.0.4",
"2.0.5",
"2.0.6",
"2.0.7",
"2.0.8",
"2.0.9"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-4977.json"
}
}
],
"modified": "2026-10-24T10:30:56.122227711Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/0841d849c23418c473ccb9183cbf41a317cb0476e44be48022ce3488%40%3Cdev.fineract.apache.org%3E",
"https://lists.apache.org/thread.html/37d7e820fc65a768de3e096e98382d5529a52a039f093e59357d0bc0%40%3Cdev.fineract.apache.org%3E",
"https://lists.apache.org/thread.html/5e6dd946635bbcc9e1f2591599ad0fab54f2dc3714196af3b17893f2%40%3Cannounce.apache.org%3E",
"https://lists.apache.org/thread.html/96c017115069408cec5e82ce1e6293facab398011f6db7e1befbe274%40%3Cdev.fineract.apache.org%3E",
"https://pivotal.io/security/cve-2016-4977"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2016-4977",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 438598,
"published_at": "2017-05-25T17:29:00.707+00:00"
}