JQuery version incompatible with a printing device

July 2022

Context

For security reasons, the JQuery version used for WES is regularly updated in Watchdoc.

Currently, version 3.6.0 is embedded in the Watchdoc configuration.

If some printing devices are not compatible with this version of JQuery, this may create a security hole (a message indicates that the version of JQuery installed is vulnerable).

Cause

The installed JQuery version is lower than version 3.5 (it is not recommended to use version 3.2.0 which generates security holes).

Resolution

To solve this problem, you need to install a version of JQuery 3.5 or higher (3.6.0 by default).

However, if a machine is not compatible with JQuery 3.6.0, it is possible to use version 3.2.0:

  1. access the Watchdoc master server as administrator;

  2. open the Watchdoc configuration file (by default C:\Program Files\Doxense\Watchdoc\Data\config.xml).

  1. In each WES instance ( <instance type="Wes[Brand_Modele]... >), add the following tag:

    <wes-config>

    <jquery-version>v320</jquery-version>

    </wes-config>

  2. save the configuration file.

     

If you want to apply this configuration to a print queue rather than the WES instance:

  1. in the file config.xml, section <!-- Printing Queues -->, in each <queue> tag, add the following tag:

    <wes-config>

    <jquery-version>v320</jquery-version>

    </wes-config>

  2. save the configuration file.

The possible values in the <jquery-version> tag are v320 (not recommanded) or v360 (default value).