Skip to content

Fix XSS issue from incomplete tags with no attributes (#694)#695

Merged
nicholasserra merged 1 commit intotrentm:masterfrom
Crozzers:xss-issue694
Mar 28, 2026
Merged

Fix XSS issue from incomplete tags with no attributes (#694)#695
nicholasserra merged 1 commit intotrentm:masterfrom
Crozzers:xss-issue694

Conversation

@Crozzers
Copy link
Copy Markdown
Contributor

This PR fixes #694.

Seems to stem from the incomplete tags regex not matching incomplete tags if they don't have any attrs. This PR tweaks the regex to allow for this case

@nicholasserra
Copy link
Copy Markdown
Collaborator

Thank you!

@nicholasserra nicholasserra merged commit cb5d253 into trentm:master Mar 28, 2026
15 checks passed
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.

Safe Mode XSS

2 participants