CVE-2022-31300
Published: 16 June 2022
Summary
CVE-2022-31300 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Angtech Haraj. Its CVSS base score is 5.4 (Medium).
Operationally, ranked in the top 8.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
CVE-2022-31300 is a stored cross-site scripting flaw (CWE-79) residing in the DM Section component of Haraj version 3.7. The vulnerability permits an attacker to supply a crafted POST request that injects arbitrary JavaScript or HTML, which is subsequently rendered for other users who view the affected section. The issue carries a CVSS 3.1 base score of 5.4, reflecting network attack vector, low attack complexity, low privileges required, and a requirement for user interaction with changed scope.
An authenticated user holding low-privileged credentials can exploit the flaw by submitting malicious content that executes in the browser context of higher-privileged or other ordinary users, enabling theft of session tokens, defacement, or redirection to attacker-controlled sites. Public references include a proof-of-concept repository demonstrating the POST-based injection against the listed product version.
No vendor advisory or patch information appears among the supplied references, and the EPSS score has remained flat at 0.0752 with no observable increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-52855
Vulnerability details
A cross-site scripting vulnerability in the DM Section component of Haraj v3.7 allows attackers to execute arbitrary web scripts or HTML via a crafted POST request.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.