CVE-2019-5431 in Twitter Kit
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 informatio...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Twitter Kit | ≥ 3.0, ≤ 3.4.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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-<consumer-key>) 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2019-5431 |
|---|---|
| BreachSpider ID | BS-2019-GLOBAL-140354-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| Published | 2019-05-06 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-345: CWE-345
CWE-352: Cross-Site Request Forgery (CSRF)
Web application does not verify that a request was intentionally sent by the authenticated user.
Related attack patterns (CAPEC)
CAPEC-142 DNS Cache Poisoning via CWE-345
CAPEC-218 Spoofing of UDDI/ebXML Messages via CWE-345
CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-345
CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-345
CAPEC-388 Application API Button Hijacking via CWE-345
Show all 15
CAPEC-462 Cross-Domain Search Timing via CWE-352
CAPEC-467 Cross Site Identification via CWE-352
CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-345
CAPEC-62 Cross Site Request Forgery via CWE-352
CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-345, CWE-352
CAPEC-141 Cache Poisoning via CWE-345
CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-345
CAPEC-386 Application API Navigation Remapping via CWE-345
CAPEC-701 Browser in the Middle (BiTM) via CWE-345
CAPEC-148 Content Spoofing via CWE-345
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2019. A medium severity vulnerability affects Twitter systems (CVE-2019-5431). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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-<consumer-key>) on iOS. Because the callback handler did not verify the authenticity o CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
Questions
What is CVE-2019-5431?
This vulnerability was disclosed in 2019. A medium severity vulnerability affects Twitter systems (CVE-2019-5431). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2019-5431?
CVE-2019-5431 has CVSS 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N. EPSS: 0.4%.
Is CVE-2019-5431 actively exploited?
No confirmed active exploitation of CVE-2019-5431 as of 2026-06-21.
How do I remediate CVE-2019-5431?
Priority: MONITOR. Advisory: https://blog.twitter.com/developer/en_us/topics/tips/2018/vulnerability-in-twitter-kit-for-ios.html PSIRT: [email protected]
What systems are affected by CVE-2019-5431?
CVE-2019-5431 affects Twitter Twitter Kit.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Twitter","product":"Twitter Kit","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.