  Cubic invariants for two-dimensional degenerate Hamiltonian systems are
considered by using variables of separation of the associated St\"ackel
problems with quadratic integrals of motion. For the superintegrable St\"ackel
systems the cubic invariant is shown to admit new algebro-geometric
representation that is far more elementary than the all the known
representations in physical variables. A complete list of all known systems on
the plane which admit a cubic invariant is discussed.
