Difficult to tell without comparing to another gearbox, but the drain plug seems to stick out a lot. Is the oil clean, or black? If it’s clean, it’s not likely to be engine oil from a diesel, but likely gearbox fluid.
DSG or manual? If the gearbox fluid has been changed, it may be a factor. Can you check the fluid level on the ‘box?