CVE-2025-2575: Z Companion <= 1.1.1 - Authenticated (Author+) Stored Cross-Site Scripting via SVG File Upload

6.4 CVSS

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.

Classification

CVE ID: CVE-2025-2575

CVSS Base Severity: MEDIUM

CVSS Base Score: 6.4

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Problem Types

CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

Vendor: wpzita

Product: Z Companion

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.73% (scored less or equal to compared to others)

EPSS Date: 2025-04-18 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-2575
https://www.wordfence.com/threat-intel/vulnerabilities/id/e0f7bba4-76c3-4904-bd96-2074147b33f5?source=cve
https://plugins.trac.wordpress.org/browser/z-companion/trunk/import/importer/wxr-importer.php#L149
https://plugins.trac.wordpress.org/browser/z-companion/trunk/import/importer/wxr-importer.php#L63
https://plugins.trac.wordpress.org/browser/z-companion/trunk/import/inc/importer.php#L148
https://plugins.trac.wordpress.org/browser/z-companion/trunk/import/inc/importer.php#L62
https://wordpress.org/plugins/z-companion/#developers
https://plugins.trac.wordpress.org/changeset/3270130/

Timeline