CVE-2024-4405: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Xiaomi Pro 13
Xiaomi Pro 13 mimarket manual-upgrade Cross-Site Scripting Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Xiaomi Pro 13 smartphones. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the manual-upgrade.html file. When parsing the manualUpgradeInfo parameter, the process does not properly sanitize user-supplied data, which can lead to the injection of an arbitrary script. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-22379.
AI Analysis
Technical Summary
CVE-2024-4405 is a cross-site scripting (XSS) vulnerability classified under CWE-79, discovered in the Xiaomi Pro 13 smartphone, specifically affecting version 14.0.5.0. The vulnerability exists in the manual-upgrade.html component of the device's software, where the manualUpgradeInfo parameter is parsed without proper input sanitization or neutralization. This improper handling allows an attacker to inject malicious JavaScript code that executes within the security context of the user’s browser or the device’s web interface. The attack vector requires user interaction, such as visiting a malicious webpage or opening a crafted file that triggers the vulnerable code path. Once exploited, the attacker can execute arbitrary code remotely, potentially leading to unauthorized access, data theft, or further system compromise. The vulnerability does not require any privileges or authentication, making it accessible to any remote attacker who can convince a user to interact with malicious content. The CVSS v3.0 score of 8.8 indicates a high severity due to network attack vector, low attack complexity, no privileges required, but requiring user interaction, and resulting in high impact on confidentiality, integrity, and availability. Although no known exploits have been reported in the wild yet, the vulnerability poses a significant risk due to the widespread use of Xiaomi Pro 13 devices and the critical nature of the flaw. The issue was reported by the Zero Day Initiative (ZDI) under identifier ZDI-CAN-22379 and published on May 2, 2024. No official patches have been linked yet, highlighting the urgency for Xiaomi to release updates to remediate the flaw.
Potential Impact
The impact of CVE-2024-4405 on organizations and users is substantial. Exploitation allows remote attackers to execute arbitrary code with the privileges of the current user, potentially leading to data theft, unauthorized access to sensitive information, or further malware installation. Since the vulnerability affects a widely used smartphone model, it can be leveraged to target individuals or corporate users who rely on Xiaomi Pro 13 devices for communication and business operations. The compromise of these devices could lead to leakage of confidential corporate data, interception of communications, and disruption of services. The requirement for user interaction limits mass exploitation but does not eliminate risk, especially in phishing or social engineering campaigns. The high CVSS score reflects the potential for severe confidentiality, integrity, and availability impacts, including device takeover or persistent compromise. Organizations with mobile device management (MDM) policies that include Xiaomi Pro 13 should consider this vulnerability a critical risk to their mobile security posture.
Mitigation Recommendations
To mitigate CVE-2024-4405, organizations and users should: 1) Monitor Xiaomi’s official channels for security patches addressing this vulnerability and apply updates promptly once available. 2) Until patches are released, restrict access to the manual-upgrade.html interface if possible, or disable manual upgrade features to reduce attack surface. 3) Educate users about the risks of interacting with untrusted links or files, emphasizing caution with unsolicited messages or websites. 4) Employ mobile security solutions that can detect and block malicious scripts or phishing attempts targeting this vulnerability. 5) Implement network-level protections such as web filtering and intrusion prevention systems (IPS) to block known malicious URLs or payloads. 6) Use application whitelisting and sandboxing on mobile devices to limit the impact of arbitrary code execution. 7) For enterprises, enforce strict mobile device management policies that include vulnerability scanning and rapid response to emerging threats on mobile platforms. These steps go beyond generic advice by focusing on interim controls before patch availability and leveraging user awareness and network defenses.
Affected Countries
China, India, Indonesia, Russia, Brazil, Mexico, Vietnam, Thailand, Pakistan, Nigeria
CVE-2024-4405: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Xiaomi Pro 13
Description
Xiaomi Pro 13 mimarket manual-upgrade Cross-Site Scripting Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Xiaomi Pro 13 smartphones. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the manual-upgrade.html file. When parsing the manualUpgradeInfo parameter, the process does not properly sanitize user-supplied data, which can lead to the injection of an arbitrary script. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-22379.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-4405 is a cross-site scripting (XSS) vulnerability classified under CWE-79, discovered in the Xiaomi Pro 13 smartphone, specifically affecting version 14.0.5.0. The vulnerability exists in the manual-upgrade.html component of the device's software, where the manualUpgradeInfo parameter is parsed without proper input sanitization or neutralization. This improper handling allows an attacker to inject malicious JavaScript code that executes within the security context of the user’s browser or the device’s web interface. The attack vector requires user interaction, such as visiting a malicious webpage or opening a crafted file that triggers the vulnerable code path. Once exploited, the attacker can execute arbitrary code remotely, potentially leading to unauthorized access, data theft, or further system compromise. The vulnerability does not require any privileges or authentication, making it accessible to any remote attacker who can convince a user to interact with malicious content. The CVSS v3.0 score of 8.8 indicates a high severity due to network attack vector, low attack complexity, no privileges required, but requiring user interaction, and resulting in high impact on confidentiality, integrity, and availability. Although no known exploits have been reported in the wild yet, the vulnerability poses a significant risk due to the widespread use of Xiaomi Pro 13 devices and the critical nature of the flaw. The issue was reported by the Zero Day Initiative (ZDI) under identifier ZDI-CAN-22379 and published on May 2, 2024. No official patches have been linked yet, highlighting the urgency for Xiaomi to release updates to remediate the flaw.
Potential Impact
The impact of CVE-2024-4405 on organizations and users is substantial. Exploitation allows remote attackers to execute arbitrary code with the privileges of the current user, potentially leading to data theft, unauthorized access to sensitive information, or further malware installation. Since the vulnerability affects a widely used smartphone model, it can be leveraged to target individuals or corporate users who rely on Xiaomi Pro 13 devices for communication and business operations. The compromise of these devices could lead to leakage of confidential corporate data, interception of communications, and disruption of services. The requirement for user interaction limits mass exploitation but does not eliminate risk, especially in phishing or social engineering campaigns. The high CVSS score reflects the potential for severe confidentiality, integrity, and availability impacts, including device takeover or persistent compromise. Organizations with mobile device management (MDM) policies that include Xiaomi Pro 13 should consider this vulnerability a critical risk to their mobile security posture.
Mitigation Recommendations
To mitigate CVE-2024-4405, organizations and users should: 1) Monitor Xiaomi’s official channels for security patches addressing this vulnerability and apply updates promptly once available. 2) Until patches are released, restrict access to the manual-upgrade.html interface if possible, or disable manual upgrade features to reduce attack surface. 3) Educate users about the risks of interacting with untrusted links or files, emphasizing caution with unsolicited messages or websites. 4) Employ mobile security solutions that can detect and block malicious scripts or phishing attempts targeting this vulnerability. 5) Implement network-level protections such as web filtering and intrusion prevention systems (IPS) to block known malicious URLs or payloads. 6) Use application whitelisting and sandboxing on mobile devices to limit the impact of arbitrary code execution. 7) For enterprises, enforce strict mobile device management policies that include vulnerability scanning and rapid response to emerging threats on mobile platforms. These steps go beyond generic advice by focusing on interim controls before patch availability and leveraging user awareness and network defenses.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- zdi
- Date Reserved
- 2024-05-02T00:17:35.878Z
- Cvss Version
- 3.0
- State
- PUBLISHED
Threat ID: 699f6b8cb7ef31ef0b556801
Added to database: 2/25/2026, 9:37:16 PM
Last enriched: 2/27/2026, 10:10:47 PM
Last updated: 4/12/2026, 12:46:46 AM
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.