CVE-2023-37899Feathersjs Feathers
High 7.5 No auth needed
Follow: this CVE · Feathersjs · Feathersjs Feathers We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 69
- Auth required
- No
- Published
- Jul 19, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-754
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript. Feathers socket handler did not catch invalid string conversion errors like `const message = ${{ toString: '' }}` which would cause the NodeJS process to crash when sending an unexpected Socket.io message like `socket.emit('find', { toString: '' })`. A fix has been released in versions 5.0.8 and 4.5.18. Users are advised to upgrade. There is no known workaround for this vulnerability.
What to do
- Apply the vendor's security update for Feathers.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @feathersjs/socketio |
< 4.5.18 |
4.5.18 |
npm install @feathersjs/socketio@4.5.18 |
| npm | @feathersjs/socketio |
≥ 5.0.0 < 5.0.8 |
5.0.8 |
npm install @feathersjs/socketio@5.0.8 |
| npm | @feathersjs/transport-commons |
< 4.5.18 |
4.5.18 |
npm install @feathersjs/transport-commons@4.5.18 |
| npm | @feathersjs/transport-commons |
≥ 5.0.0 < 5.0.8 |
5.0.8 |
npm install @feathersjs/transport-commons@5.0.8 |
Per OSV / GitHub Advisories (GHSA-hhr9-rh25-hvf9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| feathersjs | feathers | < 4.5.18 |
| feathersjs | feathers | ≥ 5.0.0 < 5.0.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Release Notes
- github.com Patch
- github.com Patch
- github.com Exploit Vendor Advisory