Serialize.js 会将 JavaScript 值序列化为 JSON 的超集,其中包含正则表达式和函数。在 7.1.3 版本之前,函数源码的转义逻辑无法中和攻击者控制的函数源码在恰好以“裸”的 前缀结尾时的情形。由于每个函数体是独立进行转义的,周围序列化输出中提供的分隔符可能终止 HTML 的 元素,而后续序列化的值则可提供注入的标记,使其在页面中成为活跃元素。利用此漏洞需要能够控制被序列化函数的源码文本,例如通过伪造的 方法实现。该问题已在 7.1.3 版本中修复。
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.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| yahoo | serialize-javascript | < 7.1.3 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet