bool f_libxml_disable_entity_loader(bool disable /* = true */) {
  bool old = s_libxml_errors->m_entity_loader_disabled;

  s_libxml_errors->m_entity_loader_disabled = disable;

  return old;
}
NVD is only using a subset of CWE for mapping instead of the entire CWE, and the weakness type is not covered by that subset.