Security advisory
This vulnerability was caused by an incomplete fix to CVE-2017-0911. Twitter Kit for iOS versions 3.0 to 3.4.0 is vulnerable to a callback verification flaw in the "Login with Twitter" component allowing an attacker to provide alternate credentials. In the final step of "Login with Twitter" authentication information is passed back to the application using the registered custom URL scheme (typically twitterkit-) on iOS. Because the callback handler did not verify the authenticity of the response, this step is vulnerable to forgery, potentially allowing attacker to associate a Twitter account with a third-party service.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-5431
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:48 UTC · Revision 1
Source evidence
This vulnerability was caused by an incomplete fix to CVE-2017-0911. Twitter Kit for iOS versions 3.0 to 3.4.0 is vulnerable to a callback verification flaw in the "Login with Twitter" component allowing an attacker to provide alternate credentials. In the final step of "Login with Twitter" authentication information is passed back to the application using the registered custom URL scheme (typically twitterkit-) on iOS. Because the callback handler did not verify the authenticity of the response, this step is vulnerable to forgery, potentially allowing attacker to associate a Twitter account with a third-party service.
osv:CVE-2019-5431
Complete source record
{
"id": "bc7d8dddaeddf98b44c0a7913a85690bd6fffb8f8e7b80fc47e85b52f83b23e2",
"url": "https://osv.dev/vulnerability/CVE-2019-5431",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-5431",
"summary": "This vulnerability was caused by an incomplete fix to CVE-2017-0911. Twitter Kit for iOS versions 3.0 to 3.4.0 is vulnerable to a callback verification flaw in the \"Login with Twitter\" component allowing an attacker to provide alternate credentials. In the final step of \"Login with Twitter\" authentication information is passed back to the application using the registered custom URL scheme (typically twitterkit-) on iOS. Because the callback handler did not verify the authenticity of the response, this step is vulnerable to forgery, potentially allowing attacker to associate a Twitter account with a third-party service.",
"evidence": "osv:CVE-2019-5431",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-5431",
"aliases": [
"CVE-2019-5431"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/twitter-archive/twitter-kit-ios",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "bb96560053991e2515a6d3612aeaa58b6aacaebd"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:twitter:twitter_kit:*:*:*:*:*:iphone_os:*:*",
"range": [
{
"introduced": "3.0"
},
{
"last_affected": "3.4.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v3.4.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-5431.json"
}
}
],
"modified": "2026-10-24T10:30:44.640853113Z",
"provider": "osv",
"references": [
"https://blog.twitter.com/developer/en_us/topics/tips/2018/vulnerability-in-twitter-kit-for-ios.html"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-5431",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 435941,
"published_at": "2019-05-06T17:29:00.48+00:00"
}