CVE-2022-28985 Cross-site scripting in n/a
Attackers can execute arbitrary scripts in OrangeHRM via stored XSS in the addNewPost component, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-28985?
CVE-2022-28985 is a medium-severity cross-site scripting vulnerability in n/a, published on 20 May 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A stored cross-site scripting (XSS) vulnerability in the addNewPost component of OrangeHRM v4.10.1 allows attackers to execute arbitrary web scripts or HTML via a crafted POST request.
Weakness: CWE-79
Which versions are affected by CVE-2022-28985?
It affects 1 product.
Products include Orangehrm Orangehrm.
How do I fix CVE-2022-28985?
No fix has been published for CVE-2022-28985 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-28985 being exploited?
There is no known exploitation of CVE-2022-28985 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2007-1193 Other in n/a
- CVE-2025-66224 OrangeHRM is Vulnerable to Code Execution Through Arbitrary File Write from Sendmail Parameter Injection
- CVE-2019-12839 Command injection in n/a
- CVE-2025-66225 OrangeHRM is Vulnerable to Account Takeover Through Unvalidated Username in Password Reset Workflow
- CVE-2025-66289 OrangeHRM is Vulnerable to Persistent Session Access Due to Missing Invalidation After User Disable and Password Change
Sources
Also known as GHSA-qjfp-xc6m-h4xx.