diff --git a/docs/releases/security.txt b/docs/releases/security.txt
index ed06c7367b..02ea77b54d 100644
--- a/docs/releases/security.txt
+++ b/docs/releases/security.txt
@@ -39,7 +39,7 @@ process. These are listed below.
December 4, 2024 - :cve:`2024-53907`
------------------------------------
-Potential denial-of-service in django.utils.html.strip_tags().
+Potential denial-of-service in ``django.utils.html.strip_tags()``.
`Full description
`__
@@ -50,7 +50,7 @@ Potential denial-of-service in django.utils.html.strip_tags().
December 4, 2024 - :cve:`2024-53908`
------------------------------------
-Potential SQL injection in HasKey(lhs, rhs) on Oracle.
+Potential SQL injection in ``HasKey(lhs, rhs)`` on Oracle.
`Full description
`__