Cube
Rules glossary
A Cube is an area of effect that extends in straight lines from a point of origin located anywhere on a face of the Cube. The effect that creates a Cube specifies its size, which is the length of each side.
A Cube’s point of origin isn’t included in the area of effect unless its creator decides otherwise.
Use it at your table
Gatherune's D&D 2024 character sheets show this rule as a card where it applies, in the SRD's own words.