Security readout for executives and security teams
Plain-English summary
CVE-2022-2291 is a reflected cross-site scripting issue in SourceCodester Hotel Management System 2.0. A malicious search value can cause script execution in a victim's browser if they interact with a crafted request. This is not listed in KEV, so active exploitation is not established by the provided sources.
Executive priority
Treat as a moderate web-application risk. Prioritize remediation for public-facing hotel management portals, especially where staff authenticate in browsers. The issue is unlikely to be business-critical alone, but it can support phishing, session abuse, or content tampering workflows.
Technical view
The flaw is CWE-79 in the Search component at /ci_hms/search, where the search argument is not safely handled. CVSS 3.1 is 4.3: network reachable, low complexity, no privileges, user interaction required, unchanged scope, low integrity impact, and no confidentiality or availability impact.
Likely exposure
Exposure is limited to organizations running SourceCodester Hotel Management System 2.0 with the search route reachable by users or the internet. Public-facing deployments carry higher practical risk because attackers can distribute crafted links externally.
Exploitation context
The sources state that exploit details were publicly disclosed and may be used. They do not show CISA KEV listing or confirmed active exploitation. Successful impact depends on getting a user to interact with a crafted search request.
Researcher notes
The record identifies reflected XSS in the search parameter and cites public disclosure. Affected version evidence is specific to SourceCodester Hotel Management System 2.0. The provided sources do not name a vendor patch, fixed version, or confirmed exploitation campaign.
Mitigation direction
- Check SourceCodester or maintainer guidance for an update or official fix.
- Encode or sanitize reflected search input before rendering it in responses.
- Restrict public access to the application if it is not meant to be internet-facing.
- Add browser-side defenses such as a restrictive Content Security Policy where feasible.
- If no maintained fix exists, isolate or replace the affected application.
Validation and detection
- Inventory deployments for SourceCodester Hotel Management System version 2.0.
- Confirm whether /ci_hms/search is reachable from untrusted networks.
- Review search handling for unsafe reflection of user-controlled input.
- Run authorized XSS regression testing with non-executing markers only.
- Review web logs or WAF events for suspicious search parameter activity.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2022-2291 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 4.3 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N2.81.4Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
4.3MediumVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/CyberThoth/CVE/blob/a203e5c7b3ac88a5a0bc7200324f2b24716e8fc2/CVE/Hotel%20Management%20system/Cross%20Site%20Scripting%28Refelected%29/POC.mdCVE reference · x_refsource_MISC
- https://vuldb.com/?id.203165CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
