CVE-2024-24785

MEDIUM5.4EPSS 0.92%

Errors returned from JSON marshaling may break template escaping in html/template

發布日:2024/3/5修改日:2026/4/28

描述

If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates.

受影響套件(4)

CVSS 分數

來源版本嚴重程度向量
osvCVSS 3.1MEDIUM5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

參考連結(8)