You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ashishvijaywargiya (via GitHub)" <gi...@apache.org> on 2026/08/14 15:36:56 UTC

[PR] Restrict widget resource locations to component:// or an explicit allowlist (#1650) [ofbiz-framework]

ashishvijaywargiya opened a new pull request, #1654:
URL: https://github.com/apache/ofbiz-framework/pull/1654

   Add WidgetSecureLocation as a single gatekeeper for screen, form, grid, menu, and tree resource locations. Reject any file: scheme location regardless of letter case, reject '..' traversal inside component:// locations, and deny non-component locations by default unless allowed via the new security.allowFilePaths pattern.
   
   Also stop anonymous JSON request bodies from overriding request attributes that already exist as trusted ServletContext attributes, which is how a request-controlled value could shadow a webapp's configured decorator location.
   
   Thank you Krishna Uprit(@Krishnauprit18) and Nicolas Malin(@nmalin) for your help.
   
   PR from @nmalin - https://github.com/apache/ofbiz-framework/pull/1552
   
   PR from @Krishnauprit18 - https://github.com/apache/ofbiz-framework/pull/1586
   
   (cherry picked from commit 4afb9c9ab4d9fe7777c00f45eb07c961bcbc357a)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Restrict widget resource locations to component:// or an explicit allowlist (#1650) [ofbiz-framework]

Posted by "ashishvijaywargiya (via GitHub)" <gi...@apache.org>.
ashishvijaywargiya merged PR #1654:
URL: https://github.com/apache/ofbiz-framework/pull/1654


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Restrict widget resource locations to component:// or an explicit allowlist (#1650) [ofbiz-framework]

Posted by "golja (via GitHub) via notifications" <no...@ofbiz.apache.org>.
golja commented on PR #1654:
URL: https://github.com/apache/ofbiz-framework/pull/1654#issuecomment-6637850781

   CVE-2026-83542


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Restrict widget resource locations to component:// or an explicit allowlist (#1650) [ofbiz-framework]

Posted by "jacopoc (via GitHub) via notifications" <no...@ofbiz.apache.org>.
jacopoc commented on PR #1654:
URL: https://github.com/apache/ofbiz-framework/pull/1654#issuecomment-6637840984

   CVE-2026-68524


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org