CVE Explorer
CVE-2026-3907
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 escapi
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"Hostel","vendor":"prasunsen","versions":[{"lessThanOrEqual":"1.1.7","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:52036d7bc94f8e57c2a2f1dd43b178c1b588a223e9130220086d58b5367705ee · sha256:1b246ec76f3ee4ef… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":6.4,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:52036d7bc94f8e57c2a2f1dd43b178c1b588a223e9130220086d58b5367705ee · sha256:1b246ec76f3ee4ef… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:52036d7bc94f8e57c2a2f1dd43b178c1b588a223e9130220086d58b5367705ee · sha256:1b246ec76f3ee4ef… · /containers/cna/problemTypes/0/descriptions/0
Source references
8 source assertions{"url":"https://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/controllers/shortcodes.php#L79"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:52036d7bc94f8e57c2a2f1dd43b178c1b588a223e9130220086d58b5367705ee · sha256:1b246ec76f3ee4ef… · /containers/cna/references/5
{"url":"https://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/controllers/shortcodes.php#L91"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:52036d7bc94f8e57c2a2f1dd43b178c1b588a223e9130220086d58b5367705ee · sha256:1b246ec76f3ee4ef… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/browser/hostel/tags/1.1.6/models/hostel.php#L195"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:52036d7bc94f8e57c2a2f1dd43b178c1b588a223e9130220086d58b5367705ee · sha256:1b246ec76f3ee4ef… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/hostel/trunk/controllers/shortcodes.php#L79"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:52036d7bc94f8e57c2a2f1dd43b178c1b588a223e9130220086d58b5367705ee · sha256:1b246ec76f3ee4ef… · /containers/cna/references/4
{"url":"https://plugins.trac.wordpress.org/browser/hostel/trunk/controllers/shortcodes.php#L91"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:52036d7bc94f8e57c2a2f1dd43b178c1b588a223e9130220086d58b5367705ee · sha256:1b246ec76f3ee4ef… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/hostel/trunk/models/hostel.php#L195"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:52036d7bc94f8e57c2a2f1dd43b178c1b588a223e9130220086d58b5367705ee · sha256:1b246ec76f3ee4ef… · /containers/cna/references/6
{"url":"https://plugins.trac.wordpress.org/changeset?reponame=&old=3480942%40hostel&new=3480942%40hostel"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:52036d7bc94f8e57c2a2f1dd43b178c1b588a223e9130220086d58b5367705ee · sha256:1b246ec76f3ee4ef… · /containers/cna/references/7
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/30339c0d-6632-4073-b4d5-3bb4a5b8a58d?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:52036d7bc94f8e57c2a2f1dd43b178c1b588a223e9130220086d58b5367705ee · sha256:1b246ec76f3ee4ef… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.