Vulnerability library
Security checkMarch 10, 2026

Elysia has a string URL format ReDoS

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmelysia

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

t.String({ format: 'url' }) is vulnerable to redos

Repeating a partial url format (protocol and hostname) multiple times cause regex to slow down significantly

Here’s a table demonstrating how long it takes to process repeated partial url format | n repeat | elapsed_ms | | — | — | | 1024 | 33.993 | | 2048 | 134.357 | | 4096 | 537.

Recommendation

Update the elysia package to the latest compatible version. Followings are version details:

  • Affected version(s): < 1.4.26
  • Patched version(s): 1.4.26

References

Could your website be exposed too?

SmartScanner can check your website for Elysia has a string URL format ReDoS and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated March 10, 2026