CVE-2022-50957 Drupal avatar_uploader 7.x-1.0-beta8 Reflected XSS
Unauthenticated attackers can inject malicious scripts via the file parameter, executing arbitrary JavaScript in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-50957?
CVE-2022-50957 is a medium-severity cross-site scripting vulnerability in avatar_uploader, published on 10 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Drupal avatar_uploader 7.x-1.0-beta8 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious scripts by manipulating the file parameter. Attackers can craft URLs with script payloads in the file parameter of avatar_uploader.pages.inc to execute arbitrary JavaScript in victim browsers.
Weakness: CWE-79
Which versions are affected by CVE-2022-50957?
It affects 1 product.
Products include Avatar Uploader Project Avatar Uploader.
How do I fix CVE-2022-50957?
No fix has been published for CVE-2022-50957 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-50957 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-50957 exists.
Other vulnerabilities in avatar_uploader
Sources
Also known as GHSA-5wqc-2q4r-vhrf.