# We’re Open! <= 2.6 - Unauthenticated Reflected Cross-Site Scripting via 'content' Parameter

- **ID:** WPSEC-2026-1367
- **Plugin:** We’re Open! (`opening-hours`), https://wordpress.org/plugins/opening-hours/
- **Affected versions:** all versions before 2.7
- **Fixed in:** 2.7 (Update to 2.7 or later.)
- **Severity:** Medium 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-21)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/opening-hours
- **Fix released:** 2026-10-20
- **Published:** 2026-10-21
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1367/

## Description

The We’re Open! plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'content' parameter of the we_are_open_wp_ajax AJAX action in all versions up to, and including, 2.6, due to insufficient input sanitization and output escaping. The submitted content is returned unfiltered in a JSON response served as text/html. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute in a user's browser if they can trick the user into submitting a crafted request, such as by visiting a malicious page.

## References

- https://wpsec.com/vuln/WPSEC-2026-1367/
- https://plugins.svn.wordpress.org/opening-hours/tags/2.7/
- https://wordpress.org/plugins/opening-hours/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1367/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
