CVE-2021-22331
Last modified
CVE-2021-22331 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. There is a JavaScript injection vulnerability in certain Huawei smartphones. A module does not verify some inputs sufficiently. EPSS estimates a 0.72% chance of exploitation in the next 30 days.
Description
There is a JavaScript injection vulnerability in certain Huawei smartphones. A module does not verify some inputs sufficiently. Attackers can exploit this vulnerability by sending a malicious application request to launch JavaScript injection. This may compromise normal service. Affected product versions include HUAWEI P30 versions earlier than 10.1.0.165(C01E165R2P11), 11.0.0.118(C635E2R1P3), 11.0.0.120(C00E120R2P5), 11.0.0.138(C10E4R5P3), 11.0.0.138(C185E4R7P3), 11.0.0.138(C432E8R2P3), 11.0.0.138(C461E4R3P3), 11.0.0.138(C605E4R1P3), and 11.0.0.138(C636E4R3P3).
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Huawei | P30 Firmware | < 10.1.0.165\(c01e165r2p11\) |
| Huawei | P30 Firmware | < 11.0.0.118\(c635e2r1p3\) |
| Huawei | P30 Firmware | < 11.0.0.120\(c00e120r2p5\) |
| Huawei | P30 Firmware | < 11.0.0.138\(c10e4r5p3\) |
| Huawei | P30 Firmware | < 11.0.0.138\(c185e4r7p3\) |
| Huawei | P30 Firmware | < 11.0.0.138\(c432e8r2p3\) |
| Huawei | P30 Firmware | < 11.0.0.138\(c461e4r3p3\) |
| Huawei | P30 Firmware | < 11.0.0.138\(c605e4r1p3\) |
| Huawei | P30 Firmware | < 11.0.0.138\(c636e4r3p3\) |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-22331?
How severe is CVE-2021-22331?
How do I fix CVE-2021-22331?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-22326A component of the HarmonyOS has a Privilege Dropping / Lowe…7.1
- CVE-2021-22327There is an arbitrary memory write vulnerability in Huawei s…6.5
- CVE-2021-22328There is a denial of service vulnerability in some huawei pr…7.5
- CVE-2021-22329There has a license management vulnerability in some Huawei …4.9
- CVE-2021-2233Vulnerability in the Oracle Enterprise Asset Management prod…8.1
- CVE-2021-22330There is an out of bounds write vulnerability in Huawei Smar…6.5
- CVE-2021-22332There is a pointer double free vulnerability in some version…7.5
- CVE-2021-22333There is an Improper Validation of Array Index vulnerability…9.8
- CVE-2021-22334There is an Improper Access Control vulnerability in Huawei …7.4
- CVE-2021-22335There is a Memory Buffer Improper Operation Limit vulnerabil…7.8
- CVE-2021-22336There is an Improper Control of Generation of Code vulnerabi…7.5
- CVE-2021-22337There is an Information Disclosure vulnerability in Huawei S…5.3
Are you affected by CVE-2021-22331?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
