Skip to content

Improved: Sanitize all widget xml ressource location - #1552

Open
nmalin wants to merge 1 commit into
apache:trunkfrom
nmalin:SanitizeWidgetFlexibleLocation
Open

Improved: Sanitize all widget xml ressource location#1552
nmalin wants to merge 1 commit into
apache:trunkfrom
nmalin:SanitizeWidgetFlexibleLocation

Conversation

@nmalin

@nmalin nmalin commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

When you load dynamically an XML file to a widget model you need to follow the security rule

  • a location from component (component://) without other url or '..'
  • or if not a component, the string path is present on an allowed path in security.properties : allowFilePaths

When you load dynamically an XML file to a widget model you need to follow the security rule

* location from component (component://) without other url or '..'
* if not a component, the string path is present on an allowed path in security.properties : allowFilePaths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant