Skip to content

Comments

Resolved CodeQL polynomial regex issues#36

Open
ShubhamBisht39298 wants to merge 3 commits intomasterfrom
fix/codeql-polynomial-regex
Open

Resolved CodeQL polynomial regex issues#36
ShubhamBisht39298 wants to merge 3 commits intomasterfrom
fix/codeql-polynomial-regex

Conversation

@ShubhamBisht39298
Copy link

@ShubhamBisht39298 ShubhamBisht39298 commented Nov 12, 2025

Summary

  • Replaced unbounded <.*?> pattern with safe <[^>]*> to prevent CodeQL security issue
  • Replaced unbounded <p> (.*?)</p> pattern with safe <p>(?:(?!</p>).)*</p> to prevent CodeQL security issue

Fix Type

  • Security fix - mitigates potential ReDoS risk reported by CodeQL.

This change is Reviewable

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.

1 participant