When a cube is intersected by a plane parallel to its base, a square is created. A rectangle is created when a cube is intersected by a plane in 2 pairs of opposite faces. When a cube is intersected by a plane in 3 adjacent faces, a triangle is formed.
Since a cube does not have any curved faces, so a plane will not be able to intersect it and give a cross section with any curves.