Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-4405: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Xiaomi Pro 13

0
High
VulnerabilityCVE-2024-4405cvecve-2024-4405cwe-79
Published: Thu May 02 2024 (05/02/2024, 15:02:41 UTC)
Source: CVE Database V5
Vendor/Project: Xiaomi
Product: 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

AILast updated: 02/27/2026, 22:10:47 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses