Intel

AIKIDO-2025-10155

plug is vulnerable to Cross-site Scripting (XSS)

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

20

Low Risk

This Affects:

Elixirplug
0.4.1 - 1.16.1
Fixed in 1.16.2
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to a Cross-site Scripting (XSS) vulnerability when debug_errors: true is enabled, allowing user input from forms to be executed as JavaScript on the debug page. This could enable attackers to inject malicious scripts, potentially leading to session hijacking or other security risks.

Who does this affect?

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

Background info

plug is vulnerable to Cross-site Scripting (XSS) in versions 0.4.1 - 1.16.1.

How to fix this

Upgrade the plug library to the patch version.