Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect XSS involving server-side models and controller handler parameters #67

Merged
merged 152 commits into from
Jan 26, 2024

Conversation

jeongsoolee09
Copy link
Contributor

@jeongsoolee09 jeongsoolee09 commented Oct 21, 2023

What this PR contributes

  • Add two types of sources:
    • Server-side models (e.g. ODatav2)
    • Parameters of an event handler belonging to a controller
  • Add more UI5 classes:
    • Model/Control/View references
    • Internal/External models
    • Component
    • Manifests in manifest.json
    • Routes, Router
  • Improve over UI5BindingPath and logic around it
  • Add more / refine:
    • path graph edges, additional flow steps

Closes issue #44.

Future work

  • Cover handler call syntax with a binding path passed as an argument (e.g. .doSomething2(${/input}) in test xss-event-handlers).

@jeongsoolee09 jeongsoolee09 self-assigned this Oct 21, 2023
Copy link

@rvermeulen rvermeulen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initial review. Overall looks good, left some suggestions.

@jeongsoolee09 jeongsoolee09 marked this pull request as ready for review January 23, 2024 22:41
Copy link
Contributor

@mbaluda mbaluda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me!
Would you create an issue to get back the doSomething2 test in the future?

@jeongsoolee09 jeongsoolee09 merged commit 51508a1 into main Jan 26, 2024
@jeongsoolee09 jeongsoolee09 deleted the jeongsoolee09/unknown-remote-model branch January 26, 2024 20:18
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.

3 participants