CVE-2022-46888
Published: 19 January 2023
Summary
CVE-2022-46888 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Nexusphp Nexusphp. Its CVSS base score is 6.1 (Medium).
Operationally, ranked in the top 5.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
NexusPHP versions prior to 1.7.33 contain multiple reflected cross-site scripting flaws tracked as CVE-2022-46888. The issues reside in several application endpoints and permit injection of arbitrary script or HTML through the secret parameter on login.php, the q parameter on user-ban-log.php, the query parameter on log.php, the text parameter on moresmiles.php, the q parameter on myhr.php, and the id parameter on viewrequests.php. The vulnerabilities are rated CVSS 6.1 under CWE-79 and require no authentication.
An unauthenticated remote attacker can exploit the flaws by crafting a malicious link or request that reflects attacker-controlled content back to a victim user. Successful exploitation results in execution of arbitrary JavaScript in the context of the victim’s session, enabling theft of cookies, session hijacking, or other client-side actions within the NexusPHP application.
The official fix is included in the NexusPHP 1.7.33 release published on GitHub. A security review by SureCloud also documents these and related issues, confirming that upgrading to the patched version addresses the reflected XSS vectors. The EPSS score reached a peak of 0.1837 and currently sits at 0.1452, indicating moderate and sustained exploitation interest after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-49668
Vulnerability details
Multiple reflective cross-site scripting (XSS) vulnerabilities in NexusPHP before 1.7.33 allow remote attackers to inject arbitrary web script or HTML via the secret parameter in /login.php; q parameter in /user-ban-log.php; query parameter in /log.php; text parameter in /moresmiles.php; q parameter…
more
in myhr.php; or id parameter in /viewrequests.php.
- 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.