diff --git a/dependency-check-core/src/main/resources/schema/dependency-check.1.3.xsd b/dependency-check-core/src/main/resources/schema/dependency-check.1.3.xsd index 232d1c424..023eb6f15 100644 --- a/dependency-check-core/src/main/resources/schema/dependency-check.1.3.xsd +++ b/dependency-check-core/src/main/resources/schema/dependency-check.1.3.xsd @@ -158,7 +158,13 @@ - + + + + + + + diff --git a/dependency-check-core/src/main/resources/templates/HtmlReport.vsl b/dependency-check-core/src/main/resources/templates/HtmlReport.vsl index 979d16327..ac1bf63e9 100644 --- a/dependency-check-core/src/main/resources/templates/HtmlReport.vsl +++ b/dependency-check-core/src/main/resources/templates/HtmlReport.vsl @@ -16,7 +16,7 @@ limitations under the License. Copyright (c) 2012 Jeremy Long. All Rights Reserved. @author Jeremy Long -@version 1.1 +@version 1.2 *# @@ -757,7 +757,7 @@ arising out of or in connection with the use of this tool, the analysis performe #else Medium #end -
CVSS Score: $vuln.cvssScore +
CVSS Score: $vuln.cvssScore (AV:$enc.html($vuln.cvssAccessVector.substring(0,1))/AC:$enc.html($vuln.cvssAccessComplexity.substring(0,1))/Au:$enc.html($vuln.cvssAuthentication.substring(0,1))/C:$enc.html($vuln.cvssConfidentialityImpact.substring(0,1))/I:$enc.html($vuln.cvssIntegrityImpact.substring(0,1))/A:$enc.html($vuln.cvssAvailabilityImpact.substring(0,1))) #if ($vuln.cwe)
CWE: $vuln.cwe #end

diff --git a/dependency-check-core/src/main/resources/templates/XmlReport.vsl b/dependency-check-core/src/main/resources/templates/XmlReport.vsl index 78dc468d6..8e71e1dc7 100644 --- a/dependency-check-core/src/main/resources/templates/XmlReport.vsl +++ b/dependency-check-core/src/main/resources/templates/XmlReport.vsl @@ -16,7 +16,8 @@ limitations under the License. Copyright (c) 2012 Jeremy Long. All Rights Reserved. @author Jeremy Long -@version 1.1 +@version 1.2 + *# @@ -122,6 +123,12 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved. $enc.xml($vuln.name) $vuln.cvssScore + $enc.xml($vuln.cvssAccessVector) + $enc.xml($vuln.cvssAccessComplexity) + $enc.xml($vuln.cvssAuthentication) + $enc.xml($vuln.cvssConfidentialityImpact) + $enc.xml($vuln.cvssIntegrityImpact) + $enc.xml($vuln.cvssAvailabilityImpact) #if ($vuln.cvssScore<4.0) Low #elseif ($vuln.cvssScore>=7.0)