1: \begin{abstract}
2: We define a bounded cohomology class, called the {\em median class},
3: in the second bounded cohomology -- with appropriate coefficients --
4: of the automorphism group of a finite dimensional CAT(0) cube complex $X$.
5: The median class of $X$ behaves naturally with respect to taking products
6: and appropriate subcomplexes and defines in turn the {\em median class of an action}
7: by automorphisms of $X$.
8:
9: We show that the median class of a non-elementary action by automorphisms
10: does not vanish and we show to which extent it does vanish if the action is elementary.
11: We obtain as a corollary a superrigidity result
12: and show for example that any irreducible lattice in the product of at least two locally compact groups with
13: finitely many connected components
14: acts on a finite dimensional CAT(0) cube complex $X$ with a finite orbit in the Roller compactification of $X$.
15: In the case of a product of Lie groups, the Appendix by Caprace allows us to deduce that the fixed point is in fact inside the complex $X$.
16:
17: In the course of the proof we construct a $\Gamma$-equivariant
18: measurable map from an appropriate Poisson boundary of $\Gamma$
19: with values in the non-terminating ultrafilters on the Roller boundary of $X$.
20:
21: \end{abstract}
22: