Atlassian support or the Atlassian bug-fixing team may occasionally provide patches for critical issues that have been resolved but have not yet made it into a release. Those patches will be class files which are attached to the relevant issue in our JIRA bug-tracking system.

Installation Instructions for the Confluence Distribution

Follow these steps to install a patched class file:

  1. Shut down your confluence instance.
  2. Copy the supplied class files to <installation-directory>/confluence/WEB-INF/classes/<subdirectories>, where:
  3. Restart your Confluence instance for the changes to become effective.

(info) Class files in the /WEB-INF/classes directory of a web application will be loaded before classes located in JAR files in the /WEB-INF/lib directory. Therefore, classes in the first directory will effectively replace classes of the same name and package which would otherwise be loaded from the JAR files.

Reverting the patch

To revert the patch, simply remove the class files from the <installation-directory>/confluence/WEB-INF/classes/ folder (taking care to only remove those that apply to the patch you wish to revert), then restart the instance.


Once the issue that the patch relates to is resolved, you should upgrade to the version of Confluence that contains the fix, and revert the patch. Patches are often naive and untested and may not solve the problem in the most efficient way. As such, an official fix should be preferred in all cases.