GHSA-mcfm-j5g6-w26fmedium6.1
Elgg Reflected XSS Vulnerability
The advisory, in context
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://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
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
elgg/elgg Packagist
Ecosystem versions
Earlier releases before 1.7.11
Fixed in 1.7.11
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.7.11"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}References
- https://nvd.nist.gov/vuln/detail/CVE-2011-2935
- https://github.com/Elgg/Elgg/issues/3544
- https://github.com/Elgg/Elgg/commit/2843b4f846874d434a2403ac1f27e41035b45e04
- https://github.com/Elgg/Elgg
- https://oss-security.openwall.narkive.com/1UH3NYx8/cve-request-elgg-1-7-10-multiple-vulnerabilities
- https://security-tracker.debian.org/tracker/CVE-2011-2935
- https://web.archive.org/web/20110907122607/http://blog.elgg.org/pg/blog/brett/read/189/elgg-1711-released
- http://yehg.net/lab/pr0js/advisories/[elgg_1710]_xss_sqlin