Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- 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
FAQ
What is CVE-2026-1838?
CVE-2026-1838 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 ...
How severe is CVE-2026-1838?
CVE-2026-1838 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-1838?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.