CVE-2026-1838
Reflected XSS in Hostel WordPress Plugin Allows Script Injection
Publication date: 2026-04-18
Last updated on: 2026-04-18
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wp_hotel | hostel | to 1.1.6 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | 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. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The vulnerability exists in the Hostel plugin for WordPress, specifically in all versions up to and including 1.1.6. It is a Reflected Cross-Site Scripting (XSS) issue caused by insufficient input sanitization and output escaping of the 'shortcode_id' parameter.
This means that an attacker who is not authenticated can inject arbitrary web scripts into pages by manipulating this parameter. If a user is tricked into clicking a malicious link containing the injected script, the script will execute in their browser.
How can this vulnerability impact me? :
This vulnerability can allow attackers to execute arbitrary scripts in the context of the affected website when a user interacts with a crafted link. This can lead to several impacts including theft of user credentials, session hijacking, defacement of the website, or redirection to malicious sites.
Since the attack requires user interaction (clicking a link), it relies on social engineering to be effective.
The CVSS score of 6.1 indicates a medium severity impact with low attack complexity and no privileges required.