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

PMD: Prevent usage of native HTML #284

Open
AB-xdev opened this issue Jan 20, 2025 · 0 comments
Open

PMD: Prevent usage of native HTML #284

AB-xdev opened this issue Jan 20, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@AB-xdev
Copy link
Member

AB-xdev commented Jan 20, 2025

Prevent using native HTML as these usually result in XSS attacks.

Write a rule for that, like:

Cover all APIs possible (Html-class, setHtml-Methods, setAttribute('innerHtml', ...)

@AB-xdev AB-xdev added the enhancement New feature or request label Jan 20, 2025
@AB-xdev AB-xdev self-assigned this Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant