Description
The Z Companion plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG File uploads in all versions up to, and including, 1.1.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses the SVG file. Note: This requires Royal Shop theme to be installed.
Metrics
CVSS 3.1 5.4/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| wpzita | Z Companion | <= 1.1.1 |
References
- https://plugins.trac.wordpress.org/browser/z-companion/trunk/import/importer/wxr-importer.php#L149Product
- https://plugins.trac.wordpress.org/browser/z-companion/trunk/import/importer/wxr-importer.php#L63Product
- https://plugins.trac.wordpress.org/browser/z-companion/trunk/import/inc/importer.php#L148Product
- https://plugins.trac.wordpress.org/browser/z-companion/trunk/import/inc/importer.php#L62Product
- https://plugins.trac.wordpress.org/changeset/3270130/Patch
- https://wordpress.org/plugins/z-companion/#developersProduct
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e0f7bba4-76c3-4904-bd96-2074147b33f5?source=cveThird Party Advisory
Timeline
- Published
- Apr 11, 2025
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed