Hono 在 4.13.7 之前的版本中,在通过 渲染以下场景中的普通字符串时,未能对其进行 HTML 转义: 作为 的子节点或 fallback 内容; 作为 的字符串子节点,且该子节点与异步兄弟节点并列; 作为 的唯一子节点; 或作为通过 中的 或 传递的根级值。 在这些代码路径中,输入会被直接转换为字符串,并被当作“已转义的标记”处理。因此,在服务器端渲染过程中,如果攻击者能够控制其中某个字符串,就可以注入任意 HTML,从而在应用程序的源(origin)下执行脚本。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet