Potentially sensitive data exposure in Symfony Web Socket Bundle (GHSA-wwgf-3xp7-cxj4)

gos/web-socket-bundle Updated 02 Oct 2025

Summary

07/07/2020
MODERATE
Yes i
Moderate
5.9

GHSA-wwgf-3xp7-cxj4: Potentially sensitive data exposure in Symfony Web Socket Bundle. Affects gos/web-socket-bundle across 3 version ranges.

< 1.10.4 >= 2.0.0, < 2.6.1 >= 3.0.0, < 3.3.0

Fixed in 1.10.4, 2.6.1 or 3.3.0, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Symfony Web Socket Bundle is a package that provides WebSocket functionality for Symfony applications. It allows real-time communication between clients and servers using the WebSocket protocol. The bundle includes features such as topic-based message routing and event broadcasting. However, a vulnerability has been discovered in the bundle that could lead to potentially sensitive data exposure.

Vulnerability Detail

The vulnerability exists in the Gos\Bundle\WebSocketBundle\Server\App\Dispatcher\TopicDispatcher::onPublish() method. If the Gos\Bundle\WebSocketBundle\Server\App\Dispatcher\TopicDispatcher::dispatch() method fails, messages can be broadcasted to the related topic without proper authorization. This can occur due to misconfigured topic routes, missing topic implementations, rejected connections, or unhandled exceptions. As a result, sensitive data may be unintentionally broadcasted to the WebSocket server.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.10.4 1.10.4
    composer require gos/web-socket-bundle:1.10.4
  • >= 2.0.0, < 2.6.1 2.6.1
    composer require gos/web-socket-bundle:2.6.1
  • >= 3.0.0, < 3.3.0 3.3.0
    composer require gos/web-socket-bundle:3.3.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. It is advised to upgrade to the fixed versions of the Symfony Web Socket Bundle.

Conclusion

In conclusion, the Symfony Web Socket Bundle is vulnerable to potentially sensitive data exposure. To mitigate this vulnerability, it is crucial to upgrade to the fixed versions of the bundle. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for gos/web-socket-bundle →

Share this vulnerability

FAQ

The vulnerability can result in the unintended broadcast of potentially sensitive data to the WebSocket server.

You can fix this vulnerability by upgrading to version 1.10.4, 2.6.1, or 3.3.0 of the Symfony Web Socket Bundle.

Yes, older versions of the Symfony Web Socket Bundle are affected. It is recommended to upgrade to the fixed versions.

No specific workaround is mentioned for this vulnerability. Upgrading to the fixed versions is the recommended solution.

You can find more information about this vulnerability in the GitHub advisory: https://github.com/GeniusesOfSymfony/WebSocketBundle

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.10.4 1.10.4
    composer require gos/web-socket-bundle:1.10.4
  • >= 2.0.0, < 2.6.1 2.6.1
    composer require gos/web-socket-bundle:2.6.1
  • >= 3.0.0, < 3.3.0 3.3.0
    composer require gos/web-socket-bundle:3.3.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback