Independently derived solution.
The front view permits column heights 3, 3 and 1. The side view permits heights 2 and 3 at the two depth positions. In the depth row limited to height 2, the three stack heights can be at most 2, 2 and 1, giving 5 cubes. In the depth row limited to height 3, they can be at most 3, 3 and 1, giving 7 cubes.
Maximum cubes without changing either view = 5 + 7 = 12. There are already 11 cubes, so the greatest number that can be added is 12 − 11 = 1 cube. It fills the missing second-level position beside the existing front-left two-high stack; adding any further cube would exceed one of the two silhouettes.