All vulnerabilities

Servers and applications

CVE-2026-32893

Reflected XSS via Unsanitized http_build_query() in Exercise Question List Pagination (2.0.0 RC)

Severity
Medium 5.4
Published
10 Apr 2026
Last changed
26 Oct 2026
Added to UpHeron
1 Nov 2026
Exploit chance
0.1% in the next 30 daysHigher than 3% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Needs a user account · Needs someone to click or open something
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Also known as
GHSA-37jh-g64j-88mc
Sources
NVD, Project advisories (GitHub)

Description

A Reflected Cross-Site Scripting (XSS) vulnerability in the exercise question list admin panel allows an attacker to execute arbitrary JavaScript in an authenticated teacher's browser. The pagination code merges all $_GET parameters via array_merge() and outputs the result via http_build_query() directly into HTML href attributes without htmlspecialchars() encoding.

The file public/main/exercise/question_list_admin.inc.php (line 343) builds pagination links by calling:

http_build_query() URL-encodes parameter values for URL validity, but does NOT HTML-encode the output. When the result is placed inside an HTML href="..." attribute, an attacker can inject HTML/JavaScript via a crafted GET parameter key containing " (double quote), which terminates the attribute context.

The injection is via a parameter key (not value), since array_merge() preserves arbitrary keys from $_GET:

From chamilo/chamilo-lms's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Chamilo LMSServers and applications · cpe:a:chamilo:chamilo_lms
  • Version 2.0.0-rc2
  • Version 2.0.0-rc1
  • Version 2.0.0-beta3
  • Version 2.0.0-beta2
All 10 release lines
  • Version 2.0.0-alpha1
  • Version 2.0.0-alpha2
  • Version 2.0.0-alpha3
  • Version 2.0.0-alpha4
  • Version 2.0.0-alpha5
  • Version 2.0.0-beta1
  • Version 2.0.0-beta2
  • Version 2.0.0-beta3
  • Version 2.0.0-rc1
  • Version 2.0.0-rc2
Chamilo LMSServers and applications · github:chamilo/chamilo-lms
  • Version 2.0-RC.1

About Chamilo LMS

Free Software Learning Management System

From Wikidata, CC0 1.0.
Share of websites with a known CMS
0.6%W3Techs, Nov 2026
GitHub stars
1,024GitHub, 15 Nov 2026
Forks
567GitHub, 15 Nov 2026
Latest release
v3.0.2GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
License
GPL-3.0GitHub
Written in
PHP, JavaScriptWikidata
First released
18 Jan 2010Wikidata
First published on GitHub
29 Mar 2013GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-32893
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-32893
  • GitHub Advisory Database https://github.com/advisories/GHSA-37jh-g64j-88mc
  • github.com https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-37jh-g64j-88mc