SecurityContext

CVE-2022-4666: WordPress Plugin schema.org - Stored XSS

  • Cve: CVE-2022-4666
  • Name: WordPress Plugin schema.org - Stored XSS
  • 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.
  • Impact: Attackers can execute malicious scripts in the context of the affected site, potentially leading to session hijacking or defacement.
  • Remediation: Update to the latest version of the plugin where the issue is fixed or sanitize shortcode attributes properly.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: logged_in
  • Requirements: User needs contributor role or higher
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00471
  • Epss percentile: 0.41549
  • Assignee: [email protected]
  • Published at: 2023-02-21T09:15:10Z
  • Age in days: 1372
  • Modified at: 2026-06-17T05:21:30Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-4666
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79—

Public exploits

UrlSourceAdded date
https://wpscan.com/vulnerability/a6d23f2f-9504-40da-9b71-189033d8bd1dnvd2023-02-21

References

UrlSourceTags
https://wpscan.com/vulnerability/a6d23f2f-9504-40da-9b71-189033d8bd1dnvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
terakoya:markup_(json-ld)_structured_in_schema.org<= 4.8.1nonvd/v1/products/terakoya/markup_(json-ld)_structured_in_schema.org

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-02-21
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts