Description
The Schema Scalpel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the post title in all versions up to, and including, 1.6.1 due to insufficient input sanitization and output escaping when outputting user-supplied data into JSON-LD schema markup. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
kevingillispie Schema Scalpel
Default version status: unaffected
0 to ≤ 1.6.1affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9289e93c-22ac-4f3f-8a8a-591d9a598713?source=cve ↗
- https://plugins.trac.wordpress.org/browser/schema-scalpel/tags/1.6.1/public/class-schema-scalpel-public.php#L146 ↗
- https://plugins.trac.wordpress.org/browser/schema-scalpel/tags/1.6.1/public/class-schema-scalpel-public.php#L183 ↗
- https://github.com/kevingillispie/Schema-Scalpel/commit/0a24430ed4f99a3998d032e755cd97a57d4fae29 ↗