  def redirect_back_or_default(default, options={})
    back_url = params[:back_url].to_s
    if back_url.present? && valid_url = validate_back_url(back_url)
      redirect_to(valid_url)
      return
    elsif options[:referer]
      redirect_to_referer_or default
      return
    end
    redirect_to default
    false
  end
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.