esapi Questions

5

Solved

I am using espaiESAPI to encode string value to resolve cross site scripting issue as shown below (code snippet). String encodedString = ESAPI.encoder().encodeForHTML(value); Exception Trace o...
Daggerboard asked 15/12, 2015 at 16:58

7

Solved

There is an Spring global @ExceptionHandler(Exception.class) method which logs exception like that: @ExceptionHandler(Exception.class) void handleException(Exception ex) { logger.error("Simple er...
Turgescent asked 6/7, 2017 at 12:44

4

Solved

I added a OWASP ESAPI library to my project. And currently I'm stuck with a problem where to locate ESAPI.properties file. This project later should be deployed on few servers to which I don't have...
Haler asked 24/4, 2015 at 8:19

2

I am willing to use "OWASP ESAPI for Java" to sanitize users inputs when they submits forms in a Tomcat Webapp. I used to use org.apache.commons.lang.StringEscapeUtils like this: public static St...
Westernmost asked 22/6, 2014 at 17:21

4

When I scan using Fortify I have vulnerabilities like "Often Misused: Authentication" in the code below. Is there any fix for this issue? I have seen related posts but I was not able to g...
Variable asked 26/5, 2016 at 11:44

3

I am trying to use OWASP ESAPI for validating strings in a spring mvc project. So far I have done: 1- <dependency> <groupId>org.owasp.esapi</groupId> <artifactId>esapi&...
Goodness asked 24/3, 2016 at 14:21

0

This is a strange one that only started within the past few months I would say. Textareas in Microsoft Edge only are displaying extra line breaks when using ColdFusion's encodeForHTML(). How to rep...
Harijan asked 30/5, 2019 at 23:48

4

Solved

I am working on upgrading log4j to log4j2. In that process I am getting a Logger Class cast exception. Below is the error. Caused by: java.lang.ClassCastException: org.apache.log4j.Logger cannot b...
Corpuscle asked 13/7, 2017 at 16:39

10

Solved

I am trying to use ESAPI.jar for providing security to my web application.Basically I have just started using ESAPI.jar. But problem is I am not able to run even a simple program using ESAPI. The s...
Fustigate asked 8/10, 2011 at 11:17

3

Am trying to use OWASP ESAPI library in my web app to escape request parameters in JSPs as below ESAPI.encoder().encodeForHTML(request.getParameter()). I have added esapi-2.1.0.jar under WEB-INF...
Baa asked 26/3, 2015 at 3:25

2

Solved

encodeForHtml() (new in CF10) vs htmlEditFormat(), how are they different?
Novice asked 15/5, 2012 at 8:41

2

In my current project I am using Maven and Spring. I am currently using SLF4J logger for logging services. In place of that I want to use OWASP-ESAPI logger. I don't want to use OWASP-ESAPI securit...
Quartic asked 25/6, 2014 at 6:48

1

I am implementing an XSS filter for my web application and also using the ESAPI encoder to sanitise the input. The patterns I am using are as given below, // Script fragments Pattern.compile("&l...
Circinus asked 9/7, 2015 at 5:36

2

Solved

I am planing to develop a web application using Spring MVC and trying to figure out which is the best library to use to over come Top 10 OWASP issue. I came to see two HDIV and ESAPI, can any one p...
Disloyalty asked 7/1, 2015 at 17:41

1

Solved

I have two servers - one production and one development - running ColdFusion 9.0.1 on IIS 7.5 on Windows Server 2008 R2. The two are configured identically. We have a transient issue where, after w...
Inconvertible asked 27/8, 2014 at 17:20

1

Solved

I hope someone could help me with some issue. I'm using OWASP ESAPI 2.1.0 with JavaEE, to help me to validate some entries in a web application. At some point I needed to validate a Windows file p...
Aspiration asked 30/6, 2014 at 22:21

3

Solved

i have a litte JavaEE project, and i have to secure it with the OWASP ESAPI i integrated the ESAPI like this in Maven: <!-- ESAPI Version 2.0.1 --> <dependency> <groupId>org.ow...
Kristofer asked 3/3, 2012 at 3:39

3

Solved

In an earlier question encodeForHtml() vs htmlEditFormat(), how are they different, it seems like the new encodeForHtml() & encodeForURL() functions are superior to htmlEditFormat() & urlFo...
Pinball asked 15/5, 2012 at 16:24

3

Solved

I'm a Java developer heading down the road that leads to App Security, and I've stumbled across the OWASP organization and its companion Java API, ESAPI. In another question I asked on this site m...
Inkberry asked 11/1, 2012 at 18:34
1

© 2022 - 2024 — McMap. All rights reserved.