Medium

starcitizentools/citizen-skin vulnerable to stored, self-XSS in the "real name" field

  • Disclosed: 30.09.2024
  • Updated: 11.10.2026 10:22

Summary

A user with the editmyprivateinfo right or who can otherwise change their name can XSS themselves by setting their "real name" to an XSS payload.

Details

Here's the offending line: https://github.com/StarCitizenTools/mediawiki-skins-Citizen/blob/d45c3d69f30863f622f16eb40dd41d3ca943454a/includes/Components/CitizenComponentUserInfo.php#L137

This was introduced in 717d16af35b10dab04d434aefddbf991fc8c168c

PoC

  1. Login
  2. Go to Special:Preferences
  3. Set the real name field to a string like <script>alert("Admin with a propensity for self-XSSes")</script>
  4. Save your settings and use Citizen if it's not being used already

Impact

Any user who can change their name (whether it's through the editmyprivateinfo right or through other means) can add XSS payloads that trigger for themselves only.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package starcitizentools/citizen-skin >= 2.6.3, < 2.31.0 2.31.0

References

CVSS score 4.6/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Weakness (CWE)
CWE-79, CWE-80
Platform
Composer
Package
starcitizentools/citizen-skin
Disclosed
30.09.2024
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-62r2-gcxr-426x - CC BY 4.0

Vulnerability history: starcitizentools/citizen-skin

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (9) in the archive
Total entries
9
First → latest
09.2024 10.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 7

Disclosures per year

  1. 2024: 1
  2. 2025: 8
  3. 2026: 0
Severity:
  1. High · 8.6 CVE-2025-53370 >= 1.9.4, < 3.4.0 3.4.0
  2. starcitizentools/citizen-skin vulnerable to stored, self-XSS in the "real name" field this entry
    Medium · 4.6 CVE-2024-47536 >= 2.6.3, < 2.31.0 2.31.0

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.