---
id: CVE-2014-0096
title: >-
  java/org/apache/catalina/servlets/DefaultServlet.java in the default servlet
  in Apache Tomcat before 6.0.40, 7.x before 7.0.53, and 8.x before 8.0.4 does
  not properly restrict XSLT stylesheets, which allows remote attackers to
  bypass sec…
summary: >-
  java/org/apache/catalina/servlets/DefaultServlet.java in the default servlet
  in Apache Tomcat before 6.0.40, 7.x before 7.0.53, and 8.x before 8.0.4 does
  not properly restrict XSLT stylesheets, which allows remote attackers to
  bypass sec…
severity: medium
cvss: 4.3
cvssVector: 'AV:N/AC:M/Au:N/C:P/I:N/A:N'
cwe:
  - CWE-264
vendor: apache
product: tomcat
affected:
  - tomcat = 7.0.0
  - tomcat = 7.0.1
  - tomcat = 7.0.2
  - tomcat = 7.0.3
  - tomcat = 7.0.4
  - tomcat = 7.0.5
  - tomcat = 7.0.6
  - tomcat = 7.0.7
  - tomcat = 7.0.8
  - tomcat = 7.0.9
  - tomcat = 7.0.10
  - tomcat = 7.0.11
  - tomcat = 7.0.12
  - tomcat = 7.0.13
  - tomcat = 7.0.14
  - tomcat = 7.0.15
  - tomcat = 7.0.16
  - tomcat = 7.0.17
  - tomcat = 7.0.18
  - tomcat = 7.0.19
  - tomcat = 7.0.20
  - tomcat = 7.0.21
  - tomcat = 7.0.22
  - tomcat = 7.0.23
  - tomcat = 7.0.24
  - tomcat = 7.0.25
  - tomcat = 7.0.26
  - tomcat = 7.0.27
  - tomcat = 7.0.28
  - tomcat = 7.0.29
  - tomcat = 7.0.30
  - tomcat = 7.0.31
  - tomcat = 7.0.32
  - tomcat = 7.0.33
  - tomcat = 7.0.34
  - tomcat = 7.0.35
  - tomcat = 7.0.36
  - tomcat = 7.0.37
  - tomcat = 7.0.38
  - tomcat = 7.0.39
  - tomcat = 7.0.40
  - tomcat = 7.0.41
  - tomcat = 7.0.42
  - tomcat = 7.0.43
  - tomcat = 7.0.44
  - tomcat = 7.0.45
  - tomcat = 7.0.46
  - tomcat = 7.0.47
  - tomcat = 7.0.48
  - tomcat = 7.0.49
  - tomcat = 7.0.50
  - tomcat = 7.0.52
  - tomcat = 8.0.0
  - tomcat = 8.0.1
  - tomcat = 8.0.3
  - tomcat <= 6.0.39
  - tomcat = 6
  - tomcat = 6.0
  - tomcat = 6.0.0
  - tomcat = 6.0.1
  - tomcat = 6.0.2
  - tomcat = 6.0.3
  - tomcat = 6.0.4
  - tomcat = 6.0.5
  - tomcat = 6.0.6
  - tomcat = 6.0.7
  - tomcat = 6.0.8
  - tomcat = 6.0.9
  - tomcat = 6.0.10
  - tomcat = 6.0.11
  - tomcat = 6.0.12
  - tomcat = 6.0.13
  - tomcat = 6.0.14
  - tomcat = 6.0.15
  - tomcat = 6.0.16
  - tomcat = 6.0.17
  - tomcat = 6.0.18
  - tomcat = 6.0.19
  - tomcat = 6.0.20
  - tomcat = 6.0.24
  - tomcat = 6.0.26
  - tomcat = 6.0.27
  - tomcat = 6.0.28
  - tomcat = 6.0.29
  - tomcat = 6.0.30
  - tomcat = 6.0.31
  - tomcat = 6.0.32
  - tomcat = 6.0.33
  - tomcat = 6.0.35
  - tomcat = 6.0.36
  - tomcat = 6.0.37
published: '2014-05-31'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T17:17:29.553'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2014-0096'
references:
  - url: 'http://advisories.mageia.org/MGASA-2014-0268.html'
    label: secalert@redhat.com
  - url: 'http://linux.oracle.com/errata/ELSA-2014-0865.html'
    label: secalert@redhat.com
  - url: >-
      http://lists.fedoraproject.org/pipermail/package-announce/2015-February/150282.html
    label: secalert@redhat.com
  - url: 'http://marc.info/?l=bugtraq&m=141017844705317&w=2'
    label: secalert@redhat.com
  - url: 'http://marc.info/?l=bugtraq&m=144498216801440&w=2'
    label: secalert@redhat.com
  - url: 'http://rhn.redhat.com/errata/RHSA-2015-0675.html'
    label: secalert@redhat.com
  - url: 'http://rhn.redhat.com/errata/RHSA-2015-0720.html'
    label: secalert@redhat.com
  - url: 'http://rhn.redhat.com/errata/RHSA-2015-0765.html'
    label: secalert@redhat.com
  - url: 'http://seclists.org/fulldisclosure/2014/Dec/23'
    label: secalert@redhat.com
  - url: 'http://seclists.org/fulldisclosure/2014/May/135'
    label: secalert@redhat.com
  - url: 'http://secunia.com/advisories/59121'
    label: secalert@redhat.com
  - url: 'http://secunia.com/advisories/59616'
    label: secalert@redhat.com
  - url: 'http://secunia.com/advisories/59678'
    label: secalert@redhat.com
  - url: 'http://secunia.com/advisories/59732'
    label: secalert@redhat.com
  - url: 'http://secunia.com/advisories/59835'
    label: secalert@redhat.com
  - url: 'http://secunia.com/advisories/59849'
    label: secalert@redhat.com
  - url: 'http://secunia.com/advisories/59873'
    label: secalert@redhat.com
  - url: 'http://secunia.com/advisories/60729'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1578610'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1578611'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1578637'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1578655'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1585853'
    label: secalert@redhat.com
  - url: 'http://tomcat.apache.org/security-6.html'
    label: secalert@redhat.com
  - url: 'http://tomcat.apache.org/security-7.html'
    label: secalert@redhat.com
  - url: 'http://tomcat.apache.org/security-8.html'
    label: secalert@redhat.com
  - url: 'http://www-01.ibm.com/support/docview.wss?uid=swg21678231'
    label: secalert@redhat.com
  - url: 'http://www-01.ibm.com/support/docview.wss?uid=swg21681528'
    label: secalert@redhat.com
  - url: 'http://www.debian.org/security/2016/dsa-3530'
    label: secalert@redhat.com
  - url: 'http://www.debian.org/security/2016/dsa-3552'
    label: secalert@redhat.com
  - url: 'http://www.mandriva.com/security/advisories?name=MDVSA-2015:052'
    label: secalert@redhat.com
  - url: 'http://www.mandriva.com/security/advisories?name=MDVSA-2015:053'
    label: secalert@redhat.com
  - url: 'http://www.mandriva.com/security/advisories?name=MDVSA-2015:084'
    label: secalert@redhat.com
  - url: 'http://www.novell.com/support/kb/doc.php?id=7010166'
    label: secalert@redhat.com
  - url: >-
      http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
    label: secalert@redhat.com
  - url: 'http://www.oracle.com/technetwork/topics/security/cpujul2014-1972956.html'
    label: secalert@redhat.com
  - url: 'http://www.oracle.com/technetwork/topics/security/cpuoct2014-1972960.html'
    label: secalert@redhat.com
  - url: 'http://www.securityfocus.com/archive/1/534161/100/0/threaded'
    label: secalert@redhat.com
  - url: 'http://www.securityfocus.com/bid/67667'
    label: secalert@redhat.com
  - url: 'http://www.securitytracker.com/id/1030301'
    label: secalert@redhat.com
  - url: 'http://www.vmware.com/security/advisories/VMSA-2014-0012.html'
    label: secalert@redhat.com
  - url: >-
      https://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04851013
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: 'http://advisories.mageia.org/MGASA-2014-0268.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://linux.oracle.com/errata/ELSA-2014-0865.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      http://lists.fedoraproject.org/pipermail/package-announce/2015-February/150282.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://marc.info/?l=bugtraq&m=141017844705317&w=2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://marc.info/?l=bugtraq&m=144498216801440&w=2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2015-0675.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2015-0720.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2015-0765.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2014/Dec/23'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2014/May/135'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://secunia.com/advisories/59121'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://secunia.com/advisories/59616'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://secunia.com/advisories/59678'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://secunia.com/advisories/59732'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://secunia.com/advisories/59835'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://secunia.com/advisories/59849'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://secunia.com/advisories/59873'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://secunia.com/advisories/60729'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1578610'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1578611'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1578637'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1578655'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1585853'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-6.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-7.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-8.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www-01.ibm.com/support/docview.wss?uid=swg21678231'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www-01.ibm.com/support/docview.wss?uid=swg21681528'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.debian.org/security/2016/dsa-3530'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.debian.org/security/2016/dsa-3552'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.mandriva.com/security/advisories?name=MDVSA-2015:052'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.mandriva.com/security/advisories?name=MDVSA-2015:053'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.mandriva.com/security/advisories?name=MDVSA-2015:084'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.novell.com/support/kb/doc.php?id=7010166'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.oracle.com/technetwork/topics/security/cpujul2014-1972956.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.oracle.com/technetwork/topics/security/cpuoct2014-1972960.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securityfocus.com/archive/1/534161/100/0/threaded'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securityfocus.com/bid/67667'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securitytracker.com/id/1030301'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.vmware.com/security/advisories/VMSA-2014-0012.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04851013
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.06905
epssPercentile: 0.93988
ingestedAt: '2026-10-14T17:44:53.589Z'
---

## Overview

java/org/apache/catalina/servlets/DefaultServlet.java in the default servlet in Apache Tomcat before 6.0.40, 7.x before 7.0.53, and 8.x before 8.0.4 does not properly restrict XSLT stylesheets, which allows remote attackers to bypass security-manager restrictions and read arbitrary files via a crafted web application that provides an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue.

## Affected

- `tomcat = 7.0.0`
- `tomcat = 7.0.1`
- `tomcat = 7.0.2`
- `tomcat = 7.0.3`
- `tomcat = 7.0.4`
- `tomcat = 7.0.5`
- `tomcat = 7.0.6`
- `tomcat = 7.0.7`
- `tomcat = 7.0.8`
- `tomcat = 7.0.9`
- `tomcat = 7.0.10`
- `tomcat = 7.0.11`
- `tomcat = 7.0.12`
- `tomcat = 7.0.13`
- `tomcat = 7.0.14`
- `tomcat = 7.0.15`
- `tomcat = 7.0.16`
- `tomcat = 7.0.17`
- `tomcat = 7.0.18`
- `tomcat = 7.0.19`
- `tomcat = 7.0.20`
- `tomcat = 7.0.21`
- `tomcat = 7.0.22`
- `tomcat = 7.0.23`
- `tomcat = 7.0.24`
- `tomcat = 7.0.25`
- `tomcat = 7.0.26`
- `tomcat = 7.0.27`
- `tomcat = 7.0.28`
- `tomcat = 7.0.29`
- `tomcat = 7.0.30`
- `tomcat = 7.0.31`
- `tomcat = 7.0.32`
- `tomcat = 7.0.33`
- `tomcat = 7.0.34`
- `tomcat = 7.0.35`
- `tomcat = 7.0.36`
- `tomcat = 7.0.37`
- `tomcat = 7.0.38`
- `tomcat = 7.0.39`
- `tomcat = 7.0.40`
- `tomcat = 7.0.41`
- `tomcat = 7.0.42`
- `tomcat = 7.0.43`
- `tomcat = 7.0.44`
- `tomcat = 7.0.45`
- `tomcat = 7.0.46`
- `tomcat = 7.0.47`
- `tomcat = 7.0.48`
- `tomcat = 7.0.49`
- `tomcat = 7.0.50`
- `tomcat = 7.0.52`
- `tomcat = 8.0.0`
- `tomcat = 8.0.1`
- `tomcat = 8.0.3`
- `tomcat <= 6.0.39`
- `tomcat = 6`
- `tomcat = 6.0`
- `tomcat = 6.0.0`
- `tomcat = 6.0.1`
- `tomcat = 6.0.2`
- `tomcat = 6.0.3`
- `tomcat = 6.0.4`
- `tomcat = 6.0.5`
- `tomcat = 6.0.6`
- `tomcat = 6.0.7`
- `tomcat = 6.0.8`
- `tomcat = 6.0.9`
- `tomcat = 6.0.10`
- `tomcat = 6.0.11`
- `tomcat = 6.0.12`
- `tomcat = 6.0.13`
- `tomcat = 6.0.14`
- `tomcat = 6.0.15`
- `tomcat = 6.0.16`
- `tomcat = 6.0.17`
- `tomcat = 6.0.18`
- `tomcat = 6.0.19`
- `tomcat = 6.0.20`
- `tomcat = 6.0.24`
- `tomcat = 6.0.26`
- `tomcat = 6.0.27`
- `tomcat = 6.0.28`
- `tomcat = 6.0.29`
- `tomcat = 6.0.30`
- `tomcat = 6.0.31`
- `tomcat = 6.0.32`
- `tomcat = 6.0.33`
- `tomcat = 6.0.35`
- `tomcat = 6.0.36`
- `tomcat = 6.0.37`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
