CVE-2022-50957

Drupal avatar_uploader 7.x-1.0-beta8 Reflected XSS

Published May 10, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The avatar_uploader module for Drupal 7 contains a reflected cross‑site scripting flaw that lets an unauthenticated attacker inject JavaScript by modifying the "file" parameter in avatar_uploader.pages.inc. When a victim opens a URL crafted with a malicious payload, the script runs in their browser, silently enabling the attacker to steal or tamper with the victim’s session data, deface the site or redirect to malicious resources. This injection type directly affects the confidentiality and integrity of user interactions.

Affected Systems

The issue is present only in the 7.x-1.0-beta8 release of the avatar_uploader project. Systems running the Drupal 7 platform with this module version are vulnerable; newer or non‑beta releases are not affected.

Risk and Exploitability

With a CVSS score of 5.1, the flaw is considered moderate. The EPSS score is not available and it is not listed in CISA’s KEV catalog. Attackers can leverage the vulnerability remotely by persuading users to visit a crafted link; authentication is not required. Because the exploit is straightforward—embed a script in a URL—the risk to browsers that execute arbitrary JavaScript is high, but the impact is limited to the victim session and any data accessed by that session.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update avatar_uploader to the latest available release that patches the reflected XSS. If a newer stable version is not available, replace the module with an audited alternative.
  • Temporarily disable the avatar_uploader module or remove it from the Drupal installation while a fix is sourced, to prevent exploitation through the vulnerable file parameter.
  • Implement strict input validation or sanitization on the file parameter, ensuring all user‑supplied data is stripped of executable JavaScript before being reflected in the response.
  • Deploy a web application firewall or reverse proxy rule that blocks requests containing suspicious script patterns in URL query strings targeting avatar_uploader pages.

Generated by OpenCVE AI on May 10, 2026 at 13:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:avatar_uploader_project:avatar_uploader:7.x-1.0:beta8:*:*:*:drupal:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Drupal avatar_uploader 7.x-1.0-beta8 Reflected XSS
First Time appeared Avatar Uploader Project
Avatar Uploader Project avatar Uploader
Weaknesses CWE-79
CPEs cpe:2.3:a:avatar_uploader_project:avatar_uploader:7.0-1.0:beta8:*:*:*:*:*:*
Vendors & Products Avatar Uploader Project
Avatar Uploader Project avatar Uploader
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
May 26, 2026, 11:51 AM
Reserved
Jan 11, 2026, 1:34 PM
Status
Analyzed
Published
May 10, 2026, 1:16 PM
Modified
Jul 24, 2026, 12:10 PM