SAP Knowledge Base Article - Public

2097406 - The "<javascript>" or "<script>" tags are not allowed -ERROR

Symptom

While searching the catalog in Learning Management System receive the following error:

javascript.png

Environment

Success Factors Learning Management System - All supported versions

Reproducing the Issue

  1. Create an item with one of the following in the title:
    • <script>
    • <javascript>
    • Script:
    • Javascript:
  2. Now in the user side of the LMS go to the catalog search and run search that will find the item that was just created
  3. On the page where the results are supposed to appear you may see the error specified

Cause

This issue is a result of having certain HTML tags in the title of the item.

It is a security concern to allow such tags to be allowed while searching.

Resolution

Avoiding titles that have these tags is the recommended workaround for this issue

For example instead of using Javascript: in the title, try using Javascript -

Keywords

You must correct the following error; The input data has failed; javascript, script; tags are not allowed; catalog; secheduled offering; , KBA , LOD-SF-LMS-COR , LMS Core - Items, Catalog, Curricula , Problem

Product

SAP SuccessFactors Learning all versions