CVE-2026-1838
Hostel <= 1.1.6 - Reflected Cross-Site Scripting via 'shortcode_id' Parameter
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:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
prasunsen · HostelWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
https://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/controllers/ajax.php#L28https://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/hostel.php#L44https://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/views/partial/rooms-table.html.php#L29https://plugins.trac.wordpress.org/browser/hostel/trunk/controllers/ajax.php#L28https://plugins.trac.wordpress.org/browser/hostel/trunk/hostel.php#L44https://plugins.trac.wordpress.org/browser/hostel/trunk/views/partial/rooms-table.html.php#L29https://plugins.trac.wordpress.org/changeset/3478265/hostel/trunk/hostel.phphttps://plugins.trac.wordpress.org/changeset?old_path=%2Fhostel/tags/1.1.6&new_path=%2Fhostel/tags/1.1.7https://www.wordfence.com/threat-intel/vulnerabilities/id/2b9da491-771a-4100-b41a-7411981dd34b?source=cve