All vulnerabilities

Servers and applications

CVE-2026-55504

Stored XSS in Social Wall post content via API (v-html without DOMPurify) (< 2.0.3)

Severity
Medium 5.4
Published
8 Jul 2026
Last changed
19 Nov 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.0.3
Exploit chance
0.3% in the next 30 daysHigher than 22% 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-ppw9-gf4r-5c39
Sources
CVE Program, Project advisories (GitHub)

Description

File (server-side sink): src/CoreBundle/Entity/SocialPost.php Line: 259 File (client-side sink): assets/vue/components/social/SocialWallPost.vue Line: 83 CWE: CWE-79 — Improper Neutralization of Input During Web Page Generation (Cross-site Scripting) Severity: High CVSS: 8.0 — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N

The SocialPost API resource (POST /api/social_posts) accepts a JSON body with a content field. SocialPost::setContent() stores the value as-is with no XSS sanitization — no Symfony event listener, no API Platform normalizer, no entity lifecycle callback filters this field. Compare to MessageNormalizer (line 29) which correctly calls Security::remove_XSS($data['content'], STUDENT) for message content.

The stored content is later rendered in SocialWallPost.vue line 83 via Vue's v-html directive without calling DOMPurify.sanitize(), unlike PageCard.vue (line 47) and TermsList.vue (line 34) which already apply DOMPurify to their v-html usages.

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.0.3
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