fix: V-001 security vulnerability

Automated security fix generated by OrbisAI Security
This commit is contained in:
orbisai0security 2026-05-25 04:29:32 +00:00
parent 5f4f964325
commit 44641962c2

View File

@ -27,6 +27,7 @@ func (xmlBinding) BindBody(body []byte, obj any) error {
func decodeXML(r io.Reader, obj any) error {
decoder := xml.NewDecoder(r)
decoder.Entity = xml.HTMLEntity
if err := decoder.Decode(obj); err != nil {
return err
}