Security Resilience

CVE-2023-46400

Kwhotel 0.47

Published
23 January 2025
Modified
07 February 2025
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0038 33th percentile
Risk Priority 71 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-46400 is a critical-severity Improper Neutralization of Formula Elements in a CSV File (CWE-1236) vulnerability in Kwhotel. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Client Execution (T1203); ranked at the 33th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-15 (Information Output Filtering) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

KWHotel version 0.47 is affected by CVE-2023-46400, a CSV Formula Injection vulnerability present in the add guest function. This flaw, associated with CWE-1236, carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), marking it as critical due to its potential for severe impact across confidentiality, integrity, and availability.

The vulnerability can be exploited by any unauthenticated attacker with network access, requiring low complexity and no user interaction. Exploitation involves injecting malicious formulas into CSV output generated by the add guest function, potentially leading to arbitrary code execution when the file is processed by spreadsheet applications.

Advisories and further technical details are available in the referenced GitHub gist at https://gist.github.com/6en6ar/5d39374d6ced8acbe489e0b1b932d056. Security practitioners should consult this source for exploitation proofs, patch information, or workarounds specific to KWHotel deployments.

EU & UK References

Vulnerability Data

KWHotel 0.47 is vulnerable to CSV Formula Injection in the add guest function.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1204.002 Malicious File Execution
An adversary may rely upon a user opening a malicious file in order to gain execution.
T1559.002 Dynamic Data Exchange Execution
Adversaries may use Windows Dynamic Data Exchange (DDE) to execute arbitrary commands.
T1204 User Execution Execution
An adversary may rely upon specific actions by a user in order to gain execution.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-46401Same product: Kwhotel Kwhotel
CVE-2023-48207Shared CWE-1236
CVE-2024-51094Shared CWE-1236
CVE-2023-51763Shared CWE-1236
CVE-2023-31294Shared CWE-1236
CVE-2025-56267Shared CWE-1236
CVE-2023-2629Shared CWE-1236
CVE-2023-5424Shared CWE-1236
CVE-2025-50572Shared CWE-1236
CVE-2026-23873Shared CWE-1236

Affected Assets

kwhotel
kwhotel
0.47

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.2.10

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Output filtering/validation directly stops unneutralized formula elements from being written into CSV files.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require output neutralization for untrusted CSV content to block formula injection.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect formula injection but does not itself implement the mitigation.

prevents

Training developers about CSV/formula injection risks reduces a minority of instances by making them aware of the need to neutralize leading '=' and other formula triggers, but the practice is fallible and the strongest controls (secure coding standards, code review, security testing) carry the larger effect, matching the A.6.3 -> CWE-598 and A.8.28 -> CWE-79 partial pattern.

prevents

Secure coding standards explicitly require neutralization of special characters when writing CSV files.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software implementation weaknesses like CSV formula injection the way those practices do, at `partial` -- the practice is fallible and a different clause carries the stronger effect.

finds

A.8.8's reach is disclosure-based: it finds vulnerabilities through published advisories, vendor disclosures, and scanning against known CVE databases. CSV injection does surface as CVEs (CVE-2019-12134, CVE-2019-4521, CVE-2019-17661), so the disclosed share is non-trivial, but the majority of CSV injection instances live in first-party application export code that nobody publishes an advisory about, leaving them outside A.8.8's view.

References