# CVE-2022-50948: MotoPress Hotel Booking Lite stored XSS in accommodation fields

Source: https://junglewise.ai/threats/cve-2022-50948-motopress-hotel-booking-lite-stored-xss-in-accommodation-fields  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-10. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2022-50948 · Severity: medium · CVSS 6.4 · Published 2026-05-10

MotoPress Hotel Booking Lite, a WordPress plugin used for managing property rentals, contains a security flaw that allows users with certain permissions to inject malicious scripts into the website. These scripts are saved on the server and will run in the browser of any visitor who views the affected accommodation pages. This could lead to unauthorized actions being performed in a visitor's browser or the theft of sensitive session information.

Technologies: [MotoPress Hotel Booking Lite](https://junglewise.ai/threats/technologies/hotel-booking-lite). Vendors: [MotoPress](https://junglewise.ai/threats/vendors/motopress).

## Quick answers

**Is CVE-2022-50948 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-50948 being exploited in the wild.

**How severe is CVE-2022-50948?** Medium severity, with a CVSS score of 6.4, published 10 May 2026.

**Which products and versions are affected?** MotoPress Hotel Booking Lite 4.2.4.

**Is there a fix for CVE-2022-50948?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2022-50948 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2022-50948?** Check whether you run MotoPress Hotel Booking Lite at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stored cross-site scripting (XSS) vulnerability exists in MotoPress Hotel Booking Lite version 4.2.4 due to improper neutralization of user-supplied input. Authenticated attackers with permissions to create or edit accommodation types can inject malicious JavaScript into the 'title' and 'excerpt' parameters. Because this input is stored in the database and later rendered without sufficient sanitization on the public-facing accommodations page, the script executes in the context of any user's browser who visits that page. This is tracked as CWE-79 and can be exploited over the network with low administrative privileges.

## Affected products

- MotoPress Hotel Booking Lite 4.2.4

## Timeline

- 2022-06-05: other: Vulnerability discovered and tested by researcher
- 2022-06-10: disclosed: Exploit published on Exploit-DB
- 2026-05-10: advisory: NVD/VulnCheck advisory published

## References

- [https://motopress.com/](https://motopress.com/)
- [https://www.exploit-db.com/exploits/50951](https://www.exploit-db.com/exploits/50951)
- [https://www.vulncheck.com/advisories/motopress-hotel-booking-lite-stored-cross-site-scripting](https://www.vulncheck.com/advisories/motopress-hotel-booking-lite-stored-cross-site-scripting)

## Related threats

- [MotoPress Hotel Booking authorization bypass in payment REST endpoint](https://junglewise.ai/threats/cve-2026-15237-motopress-hotel-booking-authorization-bypass-in-payment-rest)
- [MotoPress Hotel Booking sensitive data disclosure in AJAX action](https://junglewise.ai/threats/cve-2026-15235-motopress-hotel-booking-sensitive-data-disclosure-in-ajax-action)
- [MotoPress Hotel Booking Lite sensitive data exposure](https://junglewise.ai/threats/cve-2026-57347-motopress-hotel-booking-lite-sensitive-data-exposure)
