CVE-2022-2628
Medium · 4.8CVSS
4.8
EPSS
0.7%
Published
Oct 3, 2022
CISA due date
—
Cloudanix analysis
A WordPress plugin allowed site administrators to insert hidden code that could run for other users and potentially steal information or take over accounts.
- Exploitation
- Remote Authenticated
- Attacker needs
- High Privilege
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- XSS
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The plugin fails to sanitize and escape certain settings fields, permitting stored XSS payloads to persist and execute in other users' browsers even when unfiltered_html is disabled.
Why it matters to the business
Compromised WordPress sites risk unauthorized script execution that can lead to admin session hijacking, defacement, or theft of visitor data, increasing operational and compliance exposure for organizations relying on the plugin.
How an attack unfolds
An attacker with high-privilege access, such as an administrator in a multisite setup, stores a malicious script in an unsanitized plugin setting; the payload is later executed when other privileged users load the affected settings page or related admin screens.
How to fix it
Upgrade the DSGVO All in one for WP plugin to version 4.2 or later to enforce proper sanitization and output escaping on all settings.
How to confirm the fix worked
Confirm the installed plugin version is 4.2 or newer; attempt to persist script tags or event handlers in settings fields and verify they are stripped or escaped on output.
Typical attack path
- Gain high-privilege WordPress administrator access in a multisite environment
- Access the DSGVO All in one for WP plugin settings
- Insert a stored XSS payload into an unsanitized configuration field
- Save the setting so the payload persists in the database
- Trigger execution by having other users view the affected admin interface
How to detect it
Review WordPress admin activity logs and plugin option changes for unexpected updates; inspect database-stored plugin settings for script or HTML tags; monitor web request logs for admin-page responses containing executable script content.
What your security team should do
- Upgrade the plugin to version 4.2 or later immediately
- Scan existing plugin option values for injected scripts and remove any suspicious content
- Enable additional input validation or WAF rules targeting XSS patterns in admin areas
- Review and restrict administrative capabilities in multisite configurations
The record
The DSGVO All in one for WP WordPress plugin before 4.2 does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup)
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:16.04:LTS | wordpress | 0 | No fix |
| Ubuntu:18.04:LTS | wordpress | 0 | No fix |
| Ubuntu:20.04:LTS | wordpress | 0 | No fix |
| Ubuntu:22.04:LTS | wordpress | 0 | No fix |
| Ubuntu:24.04:LTS | wordpress | 0 | No fix |
| Ubuntu:24.10 | wordpress | 0 | No fix |
| Ubuntu:25.04 | wordpress | 0 | No fix |
| Ubuntu:25.10 | wordpress | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | wordpress | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | wordpress | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | wordpress | 0 | No fix |
Related vulnerabilities
- CVE-2022-4973 WordPress Core, in versions up to 6.0.2, is vulnerable to Authenticated Stored Cross-Site… Also affects wordpress
- CVE-2024-32111 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')… Also affects wordpress
- CVE-2024-31111 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site… Also affects wordpress
- CVE-2024-6307 WordPress Core is vulnerable to Stored Cross-Site Scripting via the HTML API in various… Also affects wordpress
- CVE-2024-4439 WordPress Core is vulnerable to Stored Cross-Site Scripting via user display names in the… Also affects wordpress
- CVE-2023-5692 WordPress Core is vulnerable to Sensitive Information Exposure in versions up to, and… Also affects wordpress
- CVE-2024-31211 WordPress is an open publishing platform for the Web. Also affects wordpress
- CVE-2024-31210 WordPress is an open publishing platform for the Web. Also affects wordpress