CVE-2026-3907
Received Received - Intake

Stored XSS in Hostel WordPress Plugin

Vulnerability report for CVE-2026-3907, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-10

Last updated on: 2026-07-10

Assigner: Wordfence

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-10
Last Modified
2026-07-10
Generated
2026-07-10
AI Q&A
2026-07-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
wp_hotel hostel to 1.1.7 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
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 Quick Actions

Instant insights powered by AI
Executive Summary

The Hostel plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in the 'wphostel-book' shortcode in all versions up to and including 1.1.7.

This vulnerability arises because user-supplied shortcode attributes are not properly sanitized or escaped before being output.

Specifically, the second shortcode attribute, which is used as button text, is assigned to a variable without sanitization and then output directly into an HTML value attribute without escaping.

As a result, authenticated attackers with Contributor-level access or higher can inject arbitrary web scripts into pages, which will execute whenever a user accesses those pages.

Impact Analysis

This vulnerability can allow attackers with Contributor-level access or above to inject malicious scripts into your website's pages.

When other users visit these pages, the injected scripts will execute in their browsers, potentially leading to theft of sensitive information, session hijacking, or other malicious actions.

Because the vulnerability is a Stored Cross-Site Scripting issue, the malicious code persists on the site and affects all visitors to the infected pages.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-3907. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart