Description
The Hostel plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'shortcode_id' parameter in all versions up to, and including, 1.1.6 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
Published: 2026-04-18
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting due to reflected input in the 'shortcode_id' parameter, enabling arbitrary script execution in victim browsers
Action: Apply Patch
AI Analysis

Impact

The Hostel WordPress plugin suffers from a reflected Cross‑Site Scripting flaw caused by insufficient input sanitization and output escaping for the 'shortcode_id' parameter. An attacker can craft a link containing malicious JavaScript that is reflected back to the victim’s browser when the link is clicked, allowing the execution of arbitrary client‑side code. This can lead to session hijacking, credential theft, or malicious page manipulation for the user.

Affected Systems

WordPress sites running the Hostel plugin at any version up to and including 1.1.6 are affected. The flaw was present in all releases prior to the available 1.1.7 update, which appears to correct the sanitization issue.

Risk and Exploitability

The CVSS score of 6.1 indicates a moderate severity. Because the flaw is remote and unauthenticated, an attacker only needs to convince a user to click a specially crafted URL; no credentials or local execution is required. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting that exploitation may be limited to targeted or opportunistic attacks rather than widespread automated exploitation.

Generated by OpenCVE AI on April 18, 2026 at 08:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Hostel plugin to version 1.1.7 or later, which contains the necessary input sanitization.
  • If an update cannot be performed immediately, disable or remove the shortcode that accepts the 'shortcode_id' parameter from publicly accessible pages to prevent reflection.
  • Implement site‑wide output escaping or a reputable WordPress security plugin that scans for and blocks Cross‑Site Scripting payloads.

Generated by OpenCVE AI on April 18, 2026 at 08:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 18 Apr 2026 01:45:00 +0000

Type Values Removed Values Added
Description The Hostel plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'shortcode_id' parameter in all versions up to, and including, 1.1.6 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
Title Hostel <= 1.1.6 - Reflected Cross-Site Scripting via 'shortcode_id' Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-18T01:26:04.643Z

Reserved: 2026-02-03T16:31:20.729Z

Link: CVE-2026-1838

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-04-18T02:16:11.337

Modified: 2026-04-18T02:16:11.337

Link: CVE-2026-1838

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T08:45:41Z

Weaknesses