camunda / camunda-bpm-platform

Flexible framework for workflow and decision automation with BPMN and DMN. Integration with Quarkus, Spring, Spring Boot, CDI.
https://camunda.com/
Apache License 2.0
4.09k stars 1.54k forks source link

Update bootstrap in the webapps #2785

Open ThorbenLindhauer opened 1 year ago

ThorbenLindhauer commented 1 year ago

This issue was imported from JIRA:

Field Value
JIRA Link CAM-14882
Reporter @ThorbenLindhauer
Has restricted visibility comments true

Acceptance Criteria (Required on creation):

Breakdown

Migrating to Bootstrap 4

Effort: S

Migrating to Bootstrap 5

Effort: M

Generic tasks

Effort: M

Hints (optional)

Screencast of Cockpit with Bootstrap 4 without further optimizations:

https://user-images.githubusercontent.com/3015690/202664590-a9b5927d-dd54-4edc-bb4a-942d6f521bd7.mov

Links

davidmstirn commented 1 month ago

Any update on this? RetireJS via the OWASP Dependency Checker is reporting Bootstrap versions < 4.0.0 as EOL and flagging the Camunda Webapps for usage of Bootstrap version 3.4.1.

davidmstirn commented 4 weeks ago

Update: RetireJS via the OWASP Dependency Checker is reporting Bootstrap versions <= 3.4.1 as having a XSS vulnerability in the carousel component and flagging the Camunda Webapps for usage of Bootstrap version 3.4.1.

Any update as to when this library will be updated would be greatly appreciated @ThorbenLindhauer @tasso94

tasso94 commented 4 weeks ago

Hi @davidmstirn,

Thank you for bringing this to our attention.

We are aware of the vulnerabilities, but we believe the Camunda 7 Web apps are not affected.

In our code, we don't use any of those plugins and attributes affected by the security vulnerabilities:

On top of this, our default Content Security Policy configuration prevents XSS attacks: https://docs.camunda.org/manual/7.21/webapps/shared-options/header-security/#content-security-policy

If you are still concerned about the vulnerability scanner hits, we are exploring options for fixing these vulnerabilities nonetheless. We will post an update once we can share more information.

Best, Tassilo

davidmstirn commented 3 weeks ago

Thank you for the reply @tasso94 , that satisfies my concern regarding the scanner findings.