lib/brakeman/checks/check_translate_bug.rb in brakeman-lib-5.2.3 vs lib/brakeman/checks/check_translate_bug.rb in brakeman-lib-5.3.0

- old
+ new

@@ -31,10 +31,11 @@ warn :warning_type => "Cross-Site Scripting", :warning_code => :translate_vuln, :message => message, :confidence => confidence, :gem_info => gemfile_or_environment, - :link_path => "http://groups.google.com/group/rubyonrails-security/browse_thread/thread/2b61d70fb73c7cc5" + :link_path => "http://groups.google.com/group/rubyonrails-security/browse_thread/thread/2b61d70fb73c7cc5", + :cwe_id => [79] end end def uses_translate? Brakeman.debug "Finding calls to translate() or t()"