diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index 79ed905d5..887cc0c15 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -3642,6 +3642,27 @@ using the Vala programming language.
 
 .. _ref-classes-waf:
 
+.. _ref-classes-vex:
+
+``vex``
+========
+
+The :ref:`ref-classes-vex` class is used to generate metadata needed by external
+tools to check for vulnerabilities, for example CVEs.
+
+In order to use this class, inherit the class in the ``local.conf`` file and it
+will add the ``generate_vex`` task for every recipe::
+
+   INHERIT += "vex"
+
+If an image is built it will generate a report in :term:`DEPLOY_DIR_IMAGE` for
+all the packages used, it will also generate a file for all recipes used in the
+build.
+
+Example usage::
+
+   bitbake -c generate_vex openssl
+
 ``waf``
 =======
 
