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

HTML/URI encode content/path where possible #4727

Merged
merged 5 commits into from
Feb 21, 2025
Merged

Conversation

vladak
Copy link
Member

@vladak vladak commented Feb 18, 2025

This change attempts to fix XSS issues found in the webapp, namely the one in the /history endpoint handling. This is tracked by CVE-2025-21572.

While there, I took the chance to fix neighboring code style/comment issues.

@vladak vladak added the webapp web application label Feb 18, 2025
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 18, 2025
@vladak vladak force-pushed the xss_history branch 4 times, most recently from 178829b to 42d675e Compare February 18, 2025 17:32
@vladak vladak requested a review from ginoaugustine February 19, 2025 13:09
@vladak
Copy link
Member Author

vladak commented Feb 20, 2025

Tested the history UI on locally deployed instance. Specifically the XSS unit test as well as basic functionality (selecting and comparing 2 revisions, displaying historical revision of a file).

Copy link
Member

@ginoaugustine ginoaugustine left a comment

Choose a reason for hiding this comment

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

Looks good to me

@vladak vladak merged commit b86d481 into oracle:master Feb 21, 2025
8 checks passed
@vladak vladak deleted the xss_history branch February 21, 2025 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement. webapp web application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants