All-in-One Microsoft 365 & Entra ID / Azure AD SSO Login <= 2.2.8 - Authenticated (Subscriber+) Microsoft Graph Request Injection via 'doc_path' and 'query_text' Parameters
- ID
- WPSEC-2026-1952
- Plugin
- All-in-One Microsoft 365 & Entra ID / Azure AD SSO Login (login-with-azure)
- Affected
- all versions before 2.2.9
- Remediation
- Update to 2.2.9 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weakness
- CWE-74
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-29
- Attack surface
- All-in-One Microsoft 365 & Entra ID / Azure AD SSO Login on WPSec AttackSurface
- Fix released
- Published
Description
The All-in-One Microsoft 365 & Entra ID / Azure AD SSO Login plugin for WordPress is vulnerable to Microsoft Graph request injection via the 'doc_path' and 'query_text' parameters of the get-docs-by-path and find-items REST endpoints in all versions up to, and including, 2.2.8. This is due to insufficient validation of these values before they are inserted into the Microsoft Graph request URL: the path is used as the whole Graph resource path, and '?', '&' and '#' were not rejected. The endpoints are open to any logged-in user who has a REST nonce. This makes it possible for authenticated attackers, with Subscriber-level access and above, to make the site send arbitrary Graph GET requests with its stored SharePoint token and read the responses. This can include resources outside SharePoint that the token's scopes allow, such as the connected account's mail.
References
- https://wpsec.com/vuln/WPSEC-2026-1952/
- https://plugins.svn.wordpress.org/login-with-azure/tags/2.2.9/
- https://wordpress.org/plugins/login-with-azure/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS