[UI] Prevent UI from XSS 53/1653/1
authorIoakeim Samaras <ioakeim.samaras@ericsson.com>
Thu, 26 Sep 2019 07:26:30 +0000 (10:26 +0300)
committerIoakeim Samaras <ioakeim.samaras@ericsson.com>
Thu, 26 Sep 2019 07:26:30 +0000 (10:26 +0300)
Prevent UI from XSS (Cross-site-scripting)
attacks.

JIRA: VAL-56

Signed-off-by: Ioakeim Samaras <ioakeim.samaras@ericsson.com>
Change-Id: Iab877852f0f4c35e36a23c2cae301dffd3d57827

ui/CHANGELOG.md
ui/pom.xml
ui/src/main/webapp/WEB-INF/web.xml

index 50d234a..de1afb2 100644 (file)
@@ -190,3 +190,11 @@ All notable changes to this project will be documented in this file.
 - Password of users that try to login is taken into account
 
 ### Removed
+
+## [0.3.4-SNAPSHOT] - 26 September 2019
+### Added
+- Prevent XSS attacks
+
+### Changed
+
+### Removed
index 614d2ff..870b3a1 100644 (file)
@@ -14,7 +14,7 @@
 
     <groupId>org.akraino.validation</groupId>
     <artifactId>ui</artifactId>
-    <version>0.3.3-SNAPSHOT</version>
+    <version>0.3.4-SNAPSHOT</version>
     <name>Bluval UI Maven Webapp</name>
     <packaging>war</packaging>
 
index 6fd8b99..e65accc 100644 (file)
     <session-config>
         <session-timeout>30</session-timeout>
         <tracking-mode>COOKIE</tracking-mode>
+        <cookie-config>
+            <http-only>true</http-only>
+            <secure>true</secure>
+        </cookie-config>
     </session-config>
     <filter>
         <filter-name>SecurityXssFilter</filter-name>