The factorization scheme, based on the impulse approximation and the spectral function formalism, has been recently generalized to allow the description of electromagnetic nuclear interactions driven by two-nucleon currents. We have extended this framework to the case of weak charged and neutral currents, and carried out calculations of the double-differential neutrino-carbon and neutrino-oxygen cross sections using two different models of the target spectral functions. The results, showing a moderate dependence on the input spectral function, confirm that our approach provides a consistent treatment of all reaction mechanisms contributing to the signals detected by accelerator-based neutrino experiments.