Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update VeracodeReader.java
Add additional CWE translation -- Veracode reports XPath Injection as CWE 91, not 643 as expected by the Benchmark
  • Loading branch information
tjarrettveracode authored Dec 18, 2019
commit 330794da8d5a2a059e5d1526bc6b199574022cb9
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ private int translate(int cwe) {
if ( cwe == 73 ) return 22;
if ( cwe == 80 ) return 79;
if ( cwe == 331 ) return 330;
if ( cwe == 91 ) return 643;
return cwe;
}
}