CVE-2026-1838
MediumVulnerability 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 Metrics
Common Vulnerability Scoring System
Vector String:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References & Resources
-
https://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/controllers/ajax.php#L28security@wordfence.com
-
https://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/hostel.php#L44security@wordfence.com
-
https://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/views/partial/rooms-table.html.php#L29security@wordfence.com
-
https://plugins.trac.wordpress.org/browser/hostel/trunk/controllers/ajax.php#L28security@wordfence.com
-
https://plugins.trac.wordpress.org/browser/hostel/trunk/hostel.php#L44security@wordfence.com
-
https://plugins.trac.wordpress.org/browser/hostel/trunk/views/partial/rooms-table.html.php#L29security@wordfence.com
-
https://plugins.trac.wordpress.org/changeset/3478265/hostel/trunk/hostel.phpsecurity@wordfence.com
-
https://plugins.trac.wordpress.org/changeset?old_path=%2Fhostel/tags/1.1.6&new_path=%2Fhostel/tags/1.1.7security@wordfence.com
-
https://www.wordfence.com/threat-intel/vulnerabilities/id/2b9da491-771a-4100-b41a-7411981dd34b?source=cvesecurity@wordfence.com
Severity Details
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- Description
- The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
- Exploit Likelihood
- High
- Typical Severity
- Medium
- OWASP Top 10
- A03:2021-Injection
- Abstraction Level
- Base
Key Information
- Published Date
- April 18, 2026
