{"id":"CVE-2022-4666","aliases":["EUVD-2022-51990","GHSA-w97g-gphp-c9mr"],"status":"published","title":"Markup \u003c= 4.8.1 - Contributor+ Stored XSS via Shortcode","description":"The Markup (JSON-LD) structured in schema.org WordPress plugin through 4.8.1 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.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.00471,"percentile":0.41235,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2023-02-21T08:51:01Z","modified":"2026-06-17T05:21:30Z","products":[{"vendor":"terakoya","product":"markup_\\(json-ld\\)_structured_in_schema.org"},{"vendor":"unknown","product":"markup (json-ld) structured in schema.org"}],"references":[{"url":"https://wpscan.com/vulnerability/a6d23f2f-9504-40da-9b71-189033d8bd1d","tags":["exploit","vdb-entry","technical-description","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4666"},{"url":"https://github.com/advisories/GHSA-w97g-gphp-c9mr"}],"sources":{"cve":[{"id":"CVE-2022-4666","title":"Markup \u003c= 4.8.1 - Contributor+ Stored XSS via Shortcode","description":"The Markup (JSON-LD) structured in schema.org WordPress plugin through 4.8.1 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.","status":"published","published":"2023-02-21T08:51:01.367Z","modified":"2025-03-12T20:49:38.102Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"updated_at":"2026-11-02T14:34:37.599536Z"}],"euvd":[{"id":"EUVD-2022-51990","description":"The Markup (JSON-LD) structured in schema.org WordPress plugin through 4.8.1 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.","status":"published","published":"2023-02-21T08:51:01Z","modified":"2025-03-12T20:49:38Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:53:05.95539Z"}],"ghsa":[{"id":"GHSA-w97g-gphp-c9mr","title":"The Markup (JSON-LD) structured in schema.org WordPress plugin through 4.8.1 does not validate...","description":"The Markup (JSON-LD) structured in schema.org WordPress plugin through 4.8.1 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.","status":"published","published":"2023-02-21T09:30:21Z","modified":"2023-03-02T18:30:30Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:54:15.627441Z"}],"nvd":[{"id":"CVE-2022-4666","description":"The Markup (JSON-LD) structured in schema.org WordPress plugin through 4.8.1 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.","status":"published","published":"2023-02-21T09:15:10.883Z","modified":"2026-06-17T05:21:30.29Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"updated_at":"2026-11-02T14:07:36.601381Z"}]}}
