Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
6.1
Hostel plugin for WordPress: Malicious scripts can be injected via links
CVE-2026-1838
Summary
If a user clicks on a malicious link, attackers can inject scripts that can harm a website. This affects all versions of the Hostel plugin for WordPress up to 1.1.6. To protect your site, update the plugin to the latest version.
Original title
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 a...
Original 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.
nvd CVSS3.1
6.1
Vulnerability type
CWE-79
Cross-site Scripting (XSS)
- https://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/controllers/ajax.ph...
- https://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/hostel.php#L44
- https://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/views/partial/rooms...
- https://plugins.trac.wordpress.org/browser/hostel/trunk/controllers/ajax.php#L28
- https://plugins.trac.wordpress.org/browser/hostel/trunk/hostel.php#L44
- https://plugins.trac.wordpress.org/browser/hostel/trunk/views/partial/rooms-tabl...
- https://plugins.trac.wordpress.org/changeset/3478265/hostel/trunk/hostel.php
- https://plugins.trac.wordpress.org/changeset?old_path=%2Fhostel/tags/1.1.6&new_p...
- https://www.wordfence.com/threat-intel/vulnerabilities/id/2b9da491-771a-4100-b41...
Published: 18 Apr 2026 · Updated: 18 Apr 2026 · First seen: 18 Apr 2026