Skip to content

Conversation

@MartinCupela
Copy link
Contributor

@MartinCupela MartinCupela commented Dec 19, 2025

Goal

Keep consistency in escaping strings interpolated into regular expressions.

Note:

Many thanks to [Kilkat] Security Researcher @kilkat for reporting this issue and providing a PoC for it.

@github-actions
Copy link
Contributor

Size Change: +41 B (+0.01%)

Total Size: 356 kB

Filename Size Change
dist/cjs/index.browser.js 119 kB +14 B (+0.01%)
dist/cjs/index.node.js 120 kB +13 B (+0.01%)
dist/esm/index.mjs 118 kB +14 B (+0.01%)

compressed-size-action

@MartinCupela MartinCupela merged commit 32705e1 into master Jan 9, 2026
4 checks passed
@MartinCupela MartinCupela deleted the fix/escape-interpolated-strings-in-regex branch January 9, 2026 11:53
@kilkat
Copy link

kilkat commented Jan 9, 2026

Hi @MartinCupela @oliverlaz, thank you for the quick fix and for merging the PR. I’ve confirmed the changes and I'm glad to have contributed to the security of stream-chat-js. Looking forward to the next release!

github-actions bot pushed a commit that referenced this pull request Jan 20, 2026
## [9.29.0](v9.28.0...v9.29.0) (2026-01-20)

### Bug Fixes

* escape strings interpolated into regular expressions ([#1669](#1669)) ([32705e1](32705e1))

### Features

* [CHA-1584] - Predefined filters support ([#1675](#1675)) ([cb6d2d1](cb6d2d1))
* add Future Channel Bans support [CHA-1696] ([#1677](#1677)) ([2effaba](2effaba))
@stream-ci-bot
Copy link

🎉 This PR is included in version 9.29.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants