An incomplete input-validation defect exists in the `isDangerousUrl()` function, which is used to reject dangerous URL values in the `href` and `xlink:href` attributes. While the `javascript:` scheme is rejected, the `data:` scheme is only rejected if the literal substring `onload` is present. Since `data:` payloads are often Base64-encoded, malicious content such as scripts or event handlers can bypass this check, allowing active markup to persist in the attributes.