CVE-2023-25172
NixOS vulnerability analysis and mitigation

Overview

Discourse, an open-source discussion platform, was affected by a cross-site scripting (XSS) vulnerability identified as CVE-2023-25172. The vulnerability was discovered in versions prior to 3.0.1 of the 'stable' branch and version 3.1.0.beta2 of the 'beta' and 'tests-passed' branches. A maliciously crafted URL could be included in a user's full name field to carry out cross-site scripting attacks on sites with a disabled or overly permissive Content Security Policy (CSP) (GitHub Advisory).

Technical details

The vulnerability is classified as a medium severity issue with a CVSS v3.1 base score of 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N). The vulnerability specifically affects the way URLs are handled in the user's full name field, allowing potential XSS attacks when CSP protections are not properly configured. It's worth noting that Discourse's default CSP configuration prevents this vulnerability from being exploited (NVD).

Impact

The vulnerability could allow attackers to execute malicious JavaScript code in the context of other users' browsers when they view content containing the crafted URL in the user's full name. This could potentially lead to session hijacking or other client-side attacks on sites where CSP is disabled or misconfigured (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 3.0.1 of the 'stable' branch and version 3.1.0.beta2 of the 'beta' and 'tests-passed' branches. For users unable to immediately update, the recommended workaround is to enable and/or restore the site's CSP to the default configuration provided with Discourse (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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 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