CVE-2026-1838

Hostel <= 1.1.6 - Reflected Cross-Site Scripting via 'shortcode_id' Parameter

Published Apr 18, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Prasunsen
Prasunsen hostel
Wordpress
Wordpress wordpress
Vendors & Products Prasunsen
Prasunsen hostel
Wordpress
Wordpress wordpress
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 20, 2026, 2:19 PM
Reserved
Feb 3, 2026, 4:31 PM
Status
Deferred
Published
Apr 18, 2026, 2:16 AM
Modified
Jun 17, 2026, 10:16 AM