Security scanner flags a jQuery Mobile XSS vulnerability in AEM Forms

This article explains why security scanners may report a jQuery Mobile 1.4.1 XSS vulnerability in AEM Forms Adaptive Forms and clarifies that the flagged vulnerability does not affect the AEM Forms runtime.

Description description

Environment

  • Adobe Experience Manager Forms
  • Adaptive Forms
  • Supported LTS versions

Issue/Symptoms

  • A security assessment or vulnerability scanner detects jQuery Mobile 1.4.1 in the AEM environment.
  • The scanner identifies /etc.clientlibs/fd/af/runtime/clientlibs/guideRuntime.min.js.
  • The scanner reports an XSS vulnerability related to insufficient validation of the HTTP Content-Type header when processing AJAX responses as HTML.
  • The scanner classifies the finding as critical or high risk because jQuery Mobile 1.4.1 has reached end of life and has known XSS issues.

Cause

The scanner identifies jQuery Mobile 1.4.1 through component fingerprinting. However, AEM Forms Adaptive Forms includes only a limited subset of the library for swipe functionality instead of the complete jQuery Mobile library. The subset used by AEM Forms doesn’t contain the code path associated with the reported XSS vulnerability.

Resolution resolution

Follow these steps to review and address the scanner finding:

  1. Review the scanner finding and confirm that it references /etc.clientlibs/fd/af/runtime/clientlibs/guideRuntime.min.js and jQuery Mobile 1.4.1.
  2. Note that AEM Forms Adaptive Forms uses only a limited subset of jQuery Mobile 1.4.1 for swipe functionality, not the complete library.
  3. Confirm that the reported XSS vulnerability is related to insufficient validation of the HTTP Content-Type header in AJAX responses. The code path associated with this vulnerability isn’t present in the subset used by AEM Forms Adaptive Forms.
  4. No customer action is required for this specific finding. Don’t upgrade, remove, or modify the product-provided client library because these actions are unsupported and could affect Adaptive Forms functionality.
  5. If the scanner identifies a different file or CVE, or if you have reproducible evidence that the reported vulnerability affects the actual AEM Forms runtime, provide the evidence to Adobe Support for further review.

To verify the finding, confirm that it matches the described file and context and that the reported vulnerability can’t be reproduced in the AEM Forms runtime.

recommendation-more-help
experience-cloud-kcs-help-kbarticles