CVE-2023-53957: Kimai/kimai Kimai Contains A SameSite Cookie Vulnerability
HIGHCVE-2023-53957 is a HIGH (CVSS 9.8) kimai contains a samesite cookie vulnerability (CWE-1275: Sensitive Cookie with Improper SameSite Attribute) affecting Kimai/kimai libraries in the Packagist ecosystem. The issue involves kimai contains a samesite cookie vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2023-53957 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-53957
To remediate this vulnerability, upgrade all affected Kimai/kimai dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade kimai/kimai to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for kimai/kimai
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-53957, inspect your project dependencies for Kimai/kimai:
inspect dependencies for kimai/kimai
Analyze the terminal output to locate any version of Kimai/kimai in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1275: Sensitive Cookie with Improper SameSite Attribute, where the samesite attribute for sensitive cookies is not set, or an insecure value is used. In Kimai/kimai, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-53957 Affected Kimai/kimai Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
kimai/kimai
|
Packagist |
≤ 1.30.10
|
|
References
Frequently Asked Questions
What is CVE-2023-53957?
Which Kimai/kimai versions are affected?
What version fixes CVE-2023-53957?
Is kimai/kimai affected?
What is the CVSS score of CVE-2023-53957?
What CWE is associated with CVE-2023-53957?
How can I check Packagist dependencies for CVE-2023-53957?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cv8h-r7r5-vwj9",
"modified" : "2026-02-20T18:25:02Z",
"published" : "2025-12-19T21:30:20Z",
"aliases" : [ "CVE-2023-53957" ],
"summary" : "Kimai contains a SameSite cookie vulnerability",
"details" : "Kimai 1.30.10 contains a SameSite cookie vulnerability that allows attackers to steal user session cookies through malicious exploitation. Attackers can trick victims into executing a crafted PHP script that captures and writes session cookie information to a file, enabling potential session hijacking.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "kimai/kimai"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.30.10"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-53957"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kimai/kimai"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/51278"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/kimai-samesite-cookie-vulnerability-session-hijacking"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1275" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-20T18:25:02Z",
"nvd_published_at" : "2025-12-19T21:15:52Z"
}
}