SECURITY UPDATE: quadratic complexity in xml.dom.minidom node ID cache
clearing leads to denial of service
debian/patches/CVE-2025-12084.patch: Replace quadratic _in_document()
traversal with ownerDocument attribute check in _clear_id_cache(); ensure
Element and Attr instances have ownerDocument attribute.