Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-28985
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 00:49 UTC · Revision 1
Source evidence
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.
osv:CVE-2022-28985
Complete source record
{
"id": "a578bb5666de8f58795ef6818b195f334f4ae6074715498301621640d5a7fda0",
"url": "https://osv.dev/vulnerability/CVE-2022-28985",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-28985",
"summary": "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.",
"evidence": "osv:CVE-2022-28985",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-28985",
"aliases": [
"CVE-2022-28985"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AC:L/AV:N/A:N/C:L/I:H/PR:L/S:U/UI:R"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/orangehrm/orangehrm",
"type": "GIT",
"events": [
{
"introduced": "3f17cd3edd58fbf465ee5ef24c84ffb768ae876d"
},
{
"last_affected": "3f17cd3edd58fbf465ee5ef24c84ffb768ae876d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:orangehrm:orangehrm:4.10.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.10.1"
},
{
"last_affected": "4.10.1"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"4.10.1",
"v4.10.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-28985.json"
}
}
],
"modified": "2026-10-28T02:30:52.678071026Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28985.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-28985",
"https://github.com/orangehrm/orangehrm/issues/1217"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28985.json"
}
},
"related_cves": [
{
"value": "CVE-2022-28985",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521096,
"published_at": "2022-05-20T01:43:10+00:00"
}