Intel

AIKIDO-2025-10273

mageplaza/magento-2-social-login is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 29, 2025

60

Medium Risk

This Affects:

phpmageplaza/magento-2-social-login
4.0.0 - 4.1.17
Fixed in 4.1.18
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to insufficient input sanitization in the $message variable, which is rendered within the div element for error messages. An attacker can exploit this flaw by injecting malicious JavaScript code into the $message parameter, which will then be executed in the context of a victim's browser when the error message is displayed. It could lead to session hijacking, defacement, or other client-side attacks.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

mageplaza/magento-2-social-login is vulnerable to Cross-site Scripting (XSS) in versions 4.0.0 - 4.1.17.

How to fix this

Upgrade the mageplaza/magento-2-social-login library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform