Medium severity · published Jul 10, 2026
CVE-2026-3907
Hostel <= 1.1.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'wphostel-book' Shortcode
6.4
CVSS
0.4%
EPSS
No
On KEV
Description
The Hostel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wphostel-book' shortcode in all versions up to and including 1.1.7. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes. Specifically, the second shortcode attribute (used as button text) is passed to the `$text` variable without sanitization at line 79 and then output directly into an HTML `value` attribute at line 91 without `esc_attr()` or any other escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HO
Hostel · prasunsen
through 1.1.7 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-3907
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-3907
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/controllers/shortcodes.php#L79
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/controllers/shortcodes.php#L91
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/models/hostel.php#L195
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/hostel/trunk/controllers/shortcodes.php#L79
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/hostel/trunk/controllers/shortcodes.php#L91
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/hostel/trunk/models/hostel.php#L195
More from Hostel
6.1
CVE-2026-1838
Hostel <= 1.1.6 - Reflected Cross-Site Scripting via 'shortcode_id' Parameter
4.4
CVE-2026-1645
Hostel <= 1.1.8 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'custom_currency' Parameter and Localization file URL Setting
4.3
CVE-2024-4314
hostel <= 1.1.5.3 - Cross-Site Request Forgery
