LeafKit's HTML escaping may be skipped for Collection values, enabling XSS
Résumé
LeafKit's HTML escaping may be skipped for Collection values, enabling XSS
Description d'origine
La description telle que publiée par la source (souvent en anglais).
LeafKit is a templating language with Swift-inspired syntax. Prior to version 1.14.2, HTML escaping doesn't work correctly when a template prints a collection (Array / Dictionary) via #(value). This can result in XSS, allowing potentially untrusted input to be rendered unescaped. Version 1.14.2 fixes the issue.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Références
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com