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.
CVE-2026-3907
Score 6.4 from GitHub Security Advisory published 2026-07-10. a secondary CVSS source baseline 6.4; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.4
- EG Score
- 6.4(high)
- EPSS
- 10.7%
- KEV
- Not listed
Published
July 10, 2026
Last Modified
July 10, 2026
References (8)
- security@wordfencehttps://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/controllers/shortcodes.php#L79
- security@wordfencehttps://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/controllers/shortcodes.php#L91
- security@wordfencehttps://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/models/hostel.php#L195
- security@wordfencehttps://plugins.trac.wordpress.org/browser/hostel/trunk/controllers/shortcodes.php#L79
- security@wordfencehttps://plugins.trac.wordpress.org/browser/hostel/trunk/controllers/shortcodes.php#L91
- security@wordfencehttps://plugins.trac.wordpress.org/browser/hostel/trunk/models/hostel.php#L195
- security@wordfencehttps://plugins.trac.wordpress.org/changeset?reponame=&old=3480942%40hostel&new=3480942%40hostel
- security@wordfencehttps://www.wordfence.com/threat-intel/vulnerabilities/id/30339c0d-6632-4073-b4d5-3bb4a5b8a58d?source=cve
Vendor Advisories for CVE-2026-3907(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 20× in last 7d / 20× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-15 17:30 UTCEG score recompute
- 2026-07-15 17:30 UTCGHSA enrichment
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-14 15:46 UTCEG score recompute
- 2026-07-14 15:46 UTCGHSA enrichment
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 14:03 UTCEG score recompute
- 2026-07-13 14:03 UTCGHSA enrichment
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 12:20 UTCEG score recompute
- 2026-07-12 12:20 UTCGHSA enrichment
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 10:37 UTCEG score recompute
- 2026-07-11 10:36 UTCGHSA enrichment
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-10 08:52 UTCEG score recompute
- 2026-07-10 08:52 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-3907?
When was CVE-2026-3907 disclosed?
Is CVE-2026-3907 actively exploited?
What is the CVSS score of CVE-2026-3907?
How do I remediate CVE-2026-3907?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-3907
Is Your Infrastructure Affected by CVE-2026-3907?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.