WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact
WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact

WordPress Plugin Vulnerabilities

Hostel < 1.1.5.2 - Admin+ Stored XSS

Description

The plugin does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup).

Proof of Concept

1. Go to Manage Rooms and click on "Click here to add room".

2. Update the Room title field as "autofocus onfocus=alert(1)//

3. Go back and select edit the Room that you have created and to trigger the XSS. 

Affects Plugins

hostel
Fixed in version 1.1.5.2

References

CVE
CVE-2023-0545

Classification

Type

XSS

OWASP top 10
A7: Cross-Site Scripting (XSS)
CWE
CWE-79

Miscellaneous

Original Researcher

Felipe Restrepo Rodriguez

Submitter

Felipe Restrepo Rodriguez

Submitter website
https://pfelilpe.com
Submitter twitter
pfelilpe
Verified

Yes

WPVDB ID
b604afc8-61d0-4e98-8950-f3d29f9e9ee1

Timeline

Publicly Published

2023-05-10 (about 4 months ago)

Added

2023-05-10 (about 4 months ago)

Last Updated

2023-05-10 (about 4 months ago)

Our Other Services

WPScan WordPress Security Plugin
WPScan

Vulnerabilities

WordPressPluginsThemesOur StatsSubmit vulnerabilities

About

How it worksPricingWordPress pluginNewsContact

For Developers

StatusAPI detailsCLI scanner

Other

PrivacyTerms of serviceSubmission termsDisclosure policyPrivacy Notice for California Users
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us