miniOrange's Google Authenticator <= 5.5.5 - Authenticated (Admin+) Cross-Site Scripting
Strategic Overview
- Status
- Patched in 5.5.6
- Affected Plugin
- miniOrange 2FA – Two Factor Authentication for WordPress (OTP, SMS, Email, Google Authenticator)
- Affected Version
<= 5.5.5- CVSS
- 5.5Medium
- Weakness type
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CVE
CVE-2022-1321
At a glance
CVE-2022-1321 is a medium-severity Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in the miniOrange 2FA WordPress plugin, affecting versions <= 5.5.5. It carries a CVSS score of 5.5 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Admin level or above. The issue is fixed in version 5.5.6; sites on affected versions should update now. Disclosed June 2022, reported by Niraj Mahajan.
Vulnerability Overview
The miniOrange's Google Authenticator plugin for WordPress vulnerable to Stored Cross-Site Scripting via the ‘Add Referer’ field in versions up to, and including, 5.5.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers with administrative capabilities to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html have been disabled.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Reaching this weakness in miniOrange 2FA <= 5.5.5 takes an account at Admin level or above. Cross-site scripting happens when input from a request is written into a page without being escaped for the context it lands in, so the browser parses attacker-supplied text as markup or script.
Injected script runs with the privileges of whoever views the affected page, which is how these flaws turn into administrator session theft, silent account creation or persistent backdoors in page content. For miniOrange 2FA the fix is 5.5.6: builds <= 5.5.5 are affected, anything from 5.5.6 onward is not.
Remediation
Update to version 5.5.6, or a newer patched version
How does WordSec protect against this?
An attacker needs Admin access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: miniOrange 2FA 5.5.6 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in miniOrange 2FA – Two Factor Authentication for WordPress (OTP, SMS, Email, Google Authenticator)
- 8.8miniOrange's Google Authenticator CSRF to Malware Scan Termination
- 8.1CVE-2022-0229: miniOrange's Google… Arbitrary Options Deletion
CVE-2022-0229 - 7.5CVE-2022-4943: miniOrange's Google… Plugin Settings Change
CVE-2022-4943 - 7.5CVE-2022-44589: miniOrange's Google… Sensitive Data Exposure
CVE-2022-44589 - 6.3miniOrange's Google Authenticator <= 5.5.82 Missing Authorization
- 5.4CVE-2022-42461: miniOrange's Google… Plugin Settings Change
CVE-2022-42461 - 5.3CVE-2026-12695: miniOrange 2FA Two-Factor Authentication Bypass
CVE-2026-12695 - 4.3CVE-2026-16035: miniOrange 2FA <= 6.2.6 Missing Authorization
CVE-2026-16035
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C