PT-2023-14983
CVE-2022-4666
·
Published
2023-02-21
·
Updated
2025-03-12
Description by
CVSS 3.1
5.4
MediumMetricsAV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
The Markup (JSON-LD) structured in schema.org WordPress plugin versions 4.8.1 and earlier
Description
The issue concerns a failure to validate and escape certain shortcode attributes in the plugin, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks. This occurs when the shortcode is embedded in a page or post and the attributes are outputted without proper validation and escaping.
Recommendations
For versions 4.8.1 and earlier, update to a version that addresses this issue. As a temporary workaround, consider restricting the use of shortcodes by users with the contributor role and above until a patch is available.
Found an issue in the description? Have something to add? Feel free to write us 👾