From 8056721f8ecdfd368d191ce998c5d9c83320dc65 Mon Sep 17 00:00:00 2001 From: Georg Lukas Date: Wed, 7 Apr 2021 18:59:10 +0200 Subject: [PATCH] XEP template: add `` element for security vulnerabilities --- xep-template.xml | 2 ++ xep.dtd | 16 ++++++++++------ xep.xsd | 16 ++++++++++++++++ xep.xsl | 20 ++++++++++++++++++++ xmpp.css | 5 +++++ 5 files changed, 53 insertions(+), 6 deletions(-) diff --git a/xep-template.xml b/xep-template.xml index 1807dc66..23ad1121 100644 --- a/xep-template.xml +++ b/xep-template.xml @@ -109,6 +109,8 @@ ]]> + Name of a CVE relevant to the XEP + Another CVE with no primary source

Text in a Sub-Sub-Section.

diff --git a/xep.dtd b/xep.dtd index 52c7e842..56a5afd7 100644 --- a/xep.dtd +++ b/xep.dtd @@ -68,27 +68,27 @@ THE SOFTWARE. - + - + - + - + - + - + @@ -130,6 +130,10 @@ THE SOFTWARE. + + diff --git a/xep.xsd b/xep.xsd index 9a62fa84..dbbbd427 100644 --- a/xep.xsd +++ b/xep.xsd @@ -209,6 +209,7 @@ THE SOFTWARE. + @@ -227,6 +228,7 @@ THE SOFTWARE. + @@ -245,6 +247,7 @@ THE SOFTWARE. + @@ -263,6 +266,7 @@ THE SOFTWARE. + @@ -283,6 +287,7 @@ THE SOFTWARE. + @@ -379,6 +384,17 @@ THE SOFTWARE. + + + + + + + + + + + diff --git a/xep.xsl b/xep.xsl index 504e1435..21c3149e 100644 --- a/xep.xsl +++ b/xep.xsl @@ -1015,6 +1015,26 @@ content: "XEP-"; + +
+
CVE- + (https://nvd.nist.gov/vuln/detail/CVE-NIST, + https://cve.mitre.org/cgi-bin/cvename.cgi?name=Mitre) +
+ + + + + + + + + + + +
+
+ diff --git a/xmpp.css b/xmpp.css index 562fa28c..70110627 100644 --- a/xmpp.css +++ b/xmpp.css @@ -1290,6 +1290,11 @@ padding: 1.5em; border: 1px solid rgba(19, 181, 234, 1.0); } + figure.cve { + padding: 1.5em; + background-color: rgba(255, 220, 220, 1.0); + border: 5px solid rgba(180, 0, 0, 1.0); + } figure > figcaption { margin-bottom: 0.5em;