Unsecure Components

SAP Commerce Cloud contains unsecured components that you should secure or remove prior to moving into production.

Test and Debug Pages

Test and debug pages are unsecured by definition and should be disabled in production.

debugFooter.tag

debugFooter.tag that leads to XSS.

<%-- Debug footer. Not for production. Outputs in an HTML comment --%>
<c:if test="${showStorefrontDebugInfo}">
<!-- TODO: Remove From Production
DEBUG INFO
... 

This footer should be removed from production.

Mocks

Mocks provided by SAP Commerce Cloud are not considered as secure and therefore should not be used in production.

Accelerator Payment Mock

Accelerator Payment Mocks are unsecured and have known security vulnerabilities like reflected XSS.

Accelerator Payment Service Provider Mock

Accelerator Payment Service Provider Mocks are unsecured and have known security vulnerabilities like open redirect and reflected XSS.

Templates

Extensions generated using SAP Commerce Cloud templates are not secured. These extensions should be validated and secured during the implementation phase.

Using the provided extension generator, extgen, you can create new extensions based on extension templates. Templates are provided for a range of specific extension types, including OCC extensions, storefronts, facades, backoffice extensions, addons and web services. The extensions generated from these templates provide you with the structure to begin developing your own custom extensions, depending on which type of extension you are developing. None of the basic extension structures created from these templates have any kind of built-in security. You must ensure that security is taken into account when planning, designing, and implementing your custom extension.

For a list of available extension templates and an overview of how to create new extensions from templates, see Creating a New Extension.