CVE-2023-40786: HKcms v2.3.0.230709 is vulnerable to Cross Site Scripting (XSS) allowing administrator cookies to be stolen.
CVE-2023-40786 is a medium-severity flaw (CVSS 5.4) affecting hkcms. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
HKcms v2.3.0.230709 is vulnerable to Cross Site Scripting (XSS) allowing administrator cookies to be stolen.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 72%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2023-09-11 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-40786?
hkcms: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2023-40786 being exploited?
CVE-2023-40786 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-40786 affect?
CVE-2023-40786 affects hkcms. Severity is medium (CVSS 5.4). HKcms v2.3.0.230709 is vulnerable to Cross Site Scripting (XSS) allowing administrator cookies to be stolen.
How urgent is CVE-2023-40786?
Priority 31/100. Public exploit reference
Related CVEs
- CVE-2025-5013 MEDIUM 4.3 DOWNGRADE A vulnerability, which was classified as problematic, was found in HkCms up to 2.3.2.240702
- CVE-2025-25761 HIGH 7.2 DOWNGRADE HkCms v2.3.2.240702 was discovered to contain an arbitrary file write vulnerability in the component Appcenter
- CVE-2024-52677 CRITICAL 9.8 UPGRADE HkCms <= v2.3.2.240702 is vulnerable to file upload in the getFileName method in /app/common/library/Upload.ph
- CVE-2023-1482 MEDIUM 4.7 DOWNGRADE A vulnerability, which was classified as problematic, was found in HkCms 2.2.4.230206