Email or username:

Password:

Forgot your password?
Top-level
Niki Tonsky

@vjon how is this an injection attack? It’s just an invalid string

1 comment
Jonah

@nikitonsky @nikitonsky Sorry, message length limits.

The security issue is potential. In JSON, it's not possible to construct an attack this way -- at least not with a strict parser. In another format, it might turn into an actual injection attack.

But a syntactic error in trusted data is an issue on its own, because the string is valid. A parser based on grapheme clusters would reject it incorrectly. And it means that using them to parse JSON, or any other textual format, is not possible.

Go Up