jason v1.2.1 Release Notes
Release Date: 2020-05-04 // about 6 years ago-
🔒 Security
- 🛠 Fix
html_safeescaping inJason.encode
The
<!--sequence of characters would not be escaped inJason.encodewithhtml_escapemode, which could lead to DoS attacks when used for embedding of arbitrary, user controlled strings into HTML through JSON (e.g. inside of<script>tags).If you were not using the
html_safeoption, you are not affected.Affected versions: < 1.2.1 Patched versions: >= 1.2.1
- 🛠 Fix