Cross-site scripting in Huawei P30 - CVE-2021-22331

 

Cross-site scripting in Huawei P30 - CVE-2021-22331

Published: April 7, 2021


Vulnerability identifier: #VU51955
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2021-22331
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Affected software

Huawei P30

How to mitigate CVE-2021-22331

Install updates from vendor's website.

Huawei P30 - addressed in versions 10.1.0.165(C01E165R2P11), 11.0.0.118(C635E2R1P3), 11.0.0.120(C00E120R2P5), 11.0.0.138(C605E4R1P3), 11.0.0.138(C432E8R2P3), 11.0.0.138(C461E4R3P3), 11.0.0.138(C636E4R3P3), 11.0.0.138(C10E4R5P3), 11.0.0.138(C185E4R7P3)

External References

Related Security Bulletins