# SAML Single Sign On – SSO Login <= 6.3.0 - Unauthenticated PHP Object Injection via SAMLResponse Parameter

- **ID:** WPSEC-2026-4674
- **Plugin:** SAML Single Sign On – SSO Login (`miniorange-saml-20-single-sign-on`), https://wordpress.org/plugins/miniorange-saml-20-single-sign-on/
- **Affected versions:** all versions before 6.4.0
- **Fixed in:** 6.4.0 (Update to 6.4.0 or later.)
- **Severity:** High 7.5 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-502
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-12-05)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/miniorange-saml-20-single-sign-on
- **Fix released:** 2026-12-04
- **Published:** 2026-12-05
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4674/

## Description

The SAML Single Sign On – SSO Login plugin for WordPress is vulnerable to PHP Object Injection via the 'SAMLResponse' parameter in all versions up to, and including, 6.3.0. This is due to the mo_saml_download_logs() function storing the raw posted 'SAMLResponse' value, which passes only through sanitize_text_field(), in an option whenever the Test Configuration error page is shown. An unauthenticated visitor can reach that page with a 'RelayState' of 'testValidate' and an oversized response, or with option=testConfig on servers missing a required PHP extension. The stored value is later passed through maybe_unserialize() when an administrator exports the plugin configuration or attaches it to a support request. This makes it possible for unauthenticated attackers to inject a PHP object. No known POP chain is present in the vulnerable software. If a POP chain is present through an additional plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code.

## References

- https://wpsec.com/vuln/WPSEC-2026-4674/
- https://plugins.svn.wordpress.org/miniorange-saml-20-single-sign-on/tags/6.4.0/
- https://wordpress.org/plugins/miniorange-saml-20-single-sign-on/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4674/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
