CVE-2025-22602
NixOS vulnerability analysis and mitigation

Overview

Discourse, an open source platform for community discussion, was found to contain a vulnerability (CVE-2025-22602) that allows attackers to execute arbitrary JavaScript on users' browsers through malicious video placeholder HTML elements. The vulnerability was discovered and disclosed on February 4, 2025, affecting Discourse versions stable <= 3.3.3, beta <= 3.4.0.beta3, and tests-passed <= 3.4.0.beta3. This security issue specifically impacts sites that have Content Security Policy (CSP) disabled (GitHub Advisory).

Technical details

The vulnerability is classified as a Cross-site Scripting (XSS) issue with a CVSS v3.1 base score of 6.5 (Medium severity). The attack vector is network-based (AV:N) with low attack complexity (AC:L), requiring no privileges (PR:N) or user interaction (UI:N). The scope is unchanged (S:U), with low impacts on confidentiality (C:L) and availability (A:L), but no impact on integrity (I:N) (GitHub Advisory, NVD).

Impact

The vulnerability allows attackers to execute arbitrary JavaScript code in users' browsers, potentially leading to unauthorized access to user data and browser resources. The impact is particularly significant for Discourse installations that have CSP disabled, as this security feature would otherwise help prevent such attacks (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Discourse versions stable >= 3.3.4, beta >= 3.4.0.beta4, and tests-passed >= 3.4.0.beta4. Users are advised to upgrade to these or later versions. For those unable to upgrade immediately, enabling Content Security Policy (CSP) serves as an effective workaround to prevent exploitation (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management