All vulnerabilities

Servers and applications

CVE-2026-54747

Stored XSS in course description controller via contentDescription field (<2.0.3)

Severity
Medium 6.4
Published
8 Jul 2026
Last changed
18 Nov 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.0.3, 2.1.0
Exploit chance
0.2% in the next 30 daysHigher than 8% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Also known as
GHSA-jv7g-9ff9-6cc5
Sources
CVE Program, Project advisories (GitHub)

Description

File: public/main/course_description/course_description_controller.php Lines: 225 and 460 CWE: CWE-79 — Improper Neutralization of Input During Web Page Generation (Cross-site Scripting) Severity: High CVSS: 7.5 — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

The Symfony/Doctrine save path assigns $_POST['contentDescription'] to $content without any XSS sanitization at two locations (lines 225 and 460). The legacy save path at line 425 already calls Security::remove_XSS(..., COURSEMANAGERLOWSECURITY), but the newer Doctrine-based path does not. The stored content is later rendered via {{ description | raw }} in src/CoreBundle/Resources/views/Course/about.html.twig (line 85), which explicitly disables Twig's auto-escaping. The route /course/{id}/about has no #[IsGranted] guard — publicly accessible without authentication.

- Auth required to trigger: Yes (Teacher/Course Manager role to plant payload) - Auth required to be affected: None — unauthenticated visitors are affected -…

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

Affected software

SoftwareAffected versions
Chamilo LMSServers and applications · cna:chamilo|chamilo-lms
  • Every version before 2.1.0
Chamilo LMSServers and applications · github:chamilo/chamilo-lms
  • Every version before 2.0.3

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