The multiphase flow inside a diesel injection nozzle is imaged using synchrotron X-rays from the Advanced Photon Source at Argonne National Laboratory. Through acquisitions performed at several viewing angles and subsequent tomographic reconstruction, in-situ 3D visualization is achieved for the first time inside a steel injector at engine-like operating conditions. The morphology of the internal flow reveals strong flow separation and vapor-filled cavities (cavitation), the degree of which correlates with the nozzle's asymmetric inlet corner profile. Micron-scale surface features, which are artifacts of manufacturing, are shown to influence the morphology of the resulting liquid-gas interface. The data obtained at 0.1 ms time resolution exposes transient flow features and the flow development timescales are shown to be correlated with in-situ imaging of the fuel injector's hydraulically-actuated valve (needle). As more than 98.5% of the X-ray photon flux is attenuated within the steel injector body itself, we are posed with a unique challenge for imaging the flow within. Time-resolved imaging under these low-light conditions is achieved by exploiting both the refractive and absorptive properties of X-ray photons. The data-processing strategy converted these images with a signal-to-noise ratio of ~ 10 into a meaningful dataset for understanding internal flow and cavitation in a nozzle of diameter 200 μm enclosed within 1-2 millimeters of steel.