Description
The Press3D plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 3D Model Gutenberg block in all versions up to, and including, 1.0.2. This is due to the plugin failing to sanitize and validate the URL scheme when storing link URLs for 3D model blocks, allowing `javascript:` URLs. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages via the link URL parameter that will execute whenever a user clicks on the 3D model.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
arieslab Press3D
Default version status: unaffected
0 to ≤ 1.0.2affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e153bb3d-e175-48bd-894c-7ccb8f09fec4?source=cve ↗
- https://plugins.trac.wordpress.org/browser/press3d/trunk/press3d.php#L1 ↗
- https://plugins.trac.wordpress.org/browser/press3d/tags/1.0.2/press3d.php#L1 ↗
- https://developer.wordpress.org/reference/functions/esc_url/ ↗
- https://cwe.mitre.org/data/definitions/79.html ↗