# CVE-2025-62508: Citizen vulnerable to stored XSS in sticky header button messages

Source: https://junglewise.ai/threats/cve-2025-62508-citizen-vulnerable-to-stored-xss-in-sticky-header-button-messages  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-10-17  
License: CC BY 4.0 with a link back

CVE-2025-62508 · Severity: medium · CVSS 6.5 · Published 2025-10-17

Citizen is a MediaWiki skin that makes extensions part of the cohesive experience. Citizen from 3.3.0 to 3.9.0 are vulnerable to stored cross-site scripting in the sticky header button message handling. In stickyHeader.js the copyButtonAttributes function assigns innerHTML from a source element’s textContent when copying button labels. This causes escaped HTML in system message content (such as citizen-share, citizen-view-history, citizen-view-edit, and nstab-talk) to be interpreted as HTML in the sticky header, allowing injection of arbitrary script by a user with the ability to edit interface messages. The vulnerability allows a user with the editinterface right but without the editsitejs right (by default the sysop group has editinterface but may not have editsitejs) to execute arbitrary JavaScript in other users’ sessions, enabling unauthorized access to sensitive data or actions. The issue is fixed in 3.9.0.

Technologies: [starcitizentools/citizen-skin (Packagist)](https://junglewise.ai/threats/technologies/starcitizentools-citizen-skin). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2025-62508 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-62508 being exploited in the wild.

**How severe is CVE-2025-62508?** Medium severity, with a CVSS score of 6.5, published 17 October 2025.

**Which products and versions are affected?** starcitizentools/citizen-skin (Packagist) ECOSYSTEM:introduced=3.3.0,fixed=3.9.0.

**Is there a fix for CVE-2025-62508?** Yes. starcitizentools/citizen-skin (Packagist): upgrade to 3.9.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-62508?** Check whether you run starcitizentools/citizen-skin (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- starcitizentools/citizen-skin (Packagist): upgrade to 3.9.0 or later

  ```sh
  composer require starcitizentools/citizen-skin:^3.9.0
  ```


## Affected products

- starcitizentools/citizen-skin (Packagist) ECOSYSTEM:introduced=3.3.0,fixed=3.9.0

## Identifiers

- CVE-2025-62508
- GHSA-g955-vw6w-v6pp

## Related threats

- [Citizen vulnerable to Stored XSS through short descriptions](https://junglewise.ai/threats/cve-2025-53370-citizen-vulnerable-to-stored-xss-through-short-descriptions)
- [starcitizentools/citizen-skin is vulnerable to Stored XSS attack in the legacy search bar through page descriptions](https://junglewise.ai/threats/cve-2025-53368-starcitizentools-citizen-skin-is-vulnerable-to-stored-xss-attack)
- [starcitizentools/citizen-skin allows stored XSS in user registration date message](https://junglewise.ai/threats/cve-2025-49578-starcitizentools-citizen-skin-allows-stored-xss-in-user)
- [starcitizentools/citizen-skin allows stored XSS in menu heading message](https://junglewise.ai/threats/cve-2025-49579-starcitizentools-citizen-skin-allows-stored-xss-in-menu-heading)
- [starcitizentools/citizen-skin allows stored XSS in preference menu heading messages](https://junglewise.ai/threats/cve-2025-49577-starcitizentools-citizen-skin-allows-stored-xss-in-preference)
