LiveActive security incident?Get immediate response
CVE Record

CVE-2022-2292: SourceCodester Hotel Management System Room Edit Page 1 cross site scripting

A vulnerability classified as problematic has been found in SourceCodester Hotel Management System 2.0. Affected is an unknown function of the file /ci_hms/massage_room/edit/1 of the component Room Edit Page. The manipulation of the argument massageroomDetails with the input "><script>alert("XSS")</script> leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

LowCVSS 3.5Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

CVE-2022-2292 is a low-severity cross-site scripting issue in SourceCodester Hotel Management System 2.0. A user with low privileges can submit room-detail content that may run script when another user views the affected room edit page. Business risk is limited but relevant for hotel admin portals handling trusted operational workflows.

Executive priority

Treat this as a low-priority but real web application hygiene issue. Patch or compensate during normal maintenance, faster if the affected admin portal is internet-facing or accessible to many staff accounts.

Technical view

The reported flaw is CWE-79 in /ci_hms/massage_room/edit/1, involving the massageroomDetails argument on the Room Edit Page. CVSS 3.1 is 3.5: network reachable, low complexity, low privileges required, user interaction required, unchanged scope, integrity impact only. The bundle does not identify a vendor patch.

Likely exposure

Exposure is likely limited to organizations running SourceCodester Hotel Management System version 2.0, especially if the room edit/admin interface is reachable by authenticated users beyond a tightly trusted administrator group.

Exploitation context

Public exploit information exists, and the CVE description says it may be used. The source bundle does not show CISA KEV listing or other evidence of active exploitation in the wild.

Researcher notes

Evidence supports a publicly disclosed XSS affecting one named component and parameter. The bundle does not confirm affected versions beyond 2.0, patch availability, exploit-in-the-wild activity, or whether behavior is stored versus otherwise persistent beyond the referenced proof-of-concept label.

Mitigation direction

  • Identify any SourceCodester Hotel Management System 2.0 deployments.
  • Check vendor or project guidance for fixed versions or official remediation.
  • Restrict room edit/admin access to trusted users only.
  • Apply input validation and context-aware output encoding if maintaining the code.
  • Review room detail records for unexpected script-like content.

Validation and detection

  • Confirm whether the application is SourceCodester Hotel Management System 2.0.
  • Verify whether /ci_hms/massage_room/edit/1 exists and is access-controlled.
  • Review templates and handlers using massageroomDetails for proper encoding.
  • Check audit logs for unusual edits to massage room details.
  • Validate remediation in a non-production environment before deployment.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

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 · medium confidence lookup

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 lookup
cve · low confidence lookup

CVE-2022-2292 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Low
CVSS
3.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N

Official CVE source material

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.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We 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.

ScoreVersionSeverityVectorExploitImpactSource
3.5CVSS 3.1LowCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N2.11.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

3.5Low
CVSS 3.1 vector shape for CVE-2022-2292Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
SourceCodesterHotel Management System2.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.