diff --git a/dependency-check-core/src/main/resources/templates/HtmlReport.vsl b/dependency-check-core/src/main/resources/templates/HtmlReport.vsl
index 2f37cfe31..b6acdf190 100644
--- a/dependency-check-core/src/main/resources/templates/HtmlReport.vsl
+++ b/dependency-check-core/src/main/resources/templates/HtmlReport.vsl
@@ -668,13 +668,20 @@ arising out of or in connection with the use of this tool, the analysis performe
#end
- Vulnerable Software & Versions: (show all)
- - $enc.html($vuln.matchedCPE) #if($vuln.hasMatchedAllPreviousCPE()) and all previous versions#end
- - ...
- #foreach($vs in $vuln.getVulnerableSoftware())
- - $enc.html($vs.name) #if($vs.hasPreviousVersion()) and all previous versions#end
+
+ #if ($vuln.getVulnerableSoftware().size()<2)
+ Vulnerable Software & Versions:
+ #else
+ Vulnerable Software & Versions: (show all)
+ - $enc.html($vuln.matchedCPE) #if($vuln.hasMatchedAllPreviousCPE()) and all previous versions#end
+ - ...
+ #foreach($vs in $vuln.getVulnerableSoftware())
+ - $enc.html($vs.name) #if($vs.hasPreviousVersion()) and all previous versions#end
+ #end
+
#end
-
#end
#end
@@ -796,13 +803,19 @@ arising out of or in connection with the use of this tool, the analysis performe
#end
- Vulnerable Software & Versions: (show all)
- - $enc.html($vuln.matchedCPE) #if($vuln.hasMatchedAllPreviousCPE()) and all previous versions#end
- - ...
- #foreach($vs in $vuln.getVulnerableSoftware())
- - $enc.html($vs.name) #if($vs.hasPreviousVersion()) and all previous versions#end
+ #if ($vuln.getVulnerableSoftware().size()<2)
+ Vulnerable Software & Versions:
+ #else
+ Vulnerable Software & Versions: (show all)
+ - $enc.html($vuln.matchedCPE) #if($vuln.hasMatchedAllPreviousCPE()) and all previous versions#end
+ - ...
+ #foreach($vs in $vuln.getVulnerableSoftware())
+ - $enc.html($vs.name) #if($vs.hasPreviousVersion()) and all previous versions#end
+ #end
+
#end
-
#end
#end