Vulnerability · Published Feb 21, 2023 · Assigned by WPScan

CVE-2022-4752Opening Hours <= 2.3.0 - Contributor+ Stored XSS via Shortcode

Medium 5.4

In plain English

A medium-severity cross-site scripting in Opening Hours from Unknown. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities).

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.5%top 59.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

The Opening Hours WordPress plugin through 2.3.0 does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks

Affected products (as reported)

VendorProductVersions
Unknown Opening Hours 0 – through 2.3.0

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References