PT-2023-14983 · WordPress · The Markup (Json-Ld) Structured In Schema.Org
Lana Codes
·
Published
2023-02-21
·
Updated
2025-03-12
·
CVE-2022-4666
CVSS v3.1
5.4
Medium
| Vector | AV: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.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
The Markup (Json-Ld) Structured In Schema.Org