Skip to content

Closes #1317: Add filepath to the start event#1874

Open
commodis wants to merge 1 commit into
htmlhint:mainfrom
commodis:1317-file-location
Open

Closes #1317: Add filepath to the start event#1874
commodis wants to merge 1 commit into
htmlhint:mainfrom
commodis:1317-file-location

Closes #1317: Add filepath to the start event

a44eddd
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed May 15, 2026 in 2s

2 new alerts including 2 high severity security vulnerabilities

New alerts in code changed by this pull request

Security Alerts:

  • 2 high

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 59 in src/core/core.ts

See this annotation in the file changed.

Code scanning / CodeQL

Polynomial regular expression used on uncontrolled data High

This
regular expression
that depends on
library input
may run slow on strings starting with '<!--htmlhint ' and with many repetitions of ' '.
This
regular expression
that depends on
library input
may run slow on strings with many repetitions of ' '.

Check failure on line 119 in src/core/htmlparser.ts

See this annotation in the file changed.

Code scanning / CodeQL

Polynomial regular expression used on uncontrolled data High

This
regular expression
that depends on
library input
may run slow on strings starting with '</' and with many repetitions of '</!'.
This
regular expression
that depends on
library input
may run slow on strings starting with '<!--' and with many repetitions of '<!--a'.
This
regular expression
that depends on
library input
may run slow on strings starting with '<!' and with many repetitions of '<!='.
This
regular expression
that depends on
library input
may run slow on strings starting with '<-' and with many repetitions of ' '.
This
regular expression
that depends on
library input
may run slow on strings starting with '<-' and with many repetitions of ' '.
This
regular expression
that depends on
library input
may run slow on strings starting with '<- ' and with many repetitions of '<- '.
This
regular expression
that depends on
library input
may run slow on strings starting with '<- !' and with many repetitions of '=<- ! '.
This
regular expression
that depends on
library input
may run slow on strings starting with '<- !="' and with many repetitions of '" <- !="'.
This
regular expression
that depends on
library input
may run slow on strings starting with '<- !='' and with many repetitions of '' <- !=''.
This
regular expression
that depends on
library input
may run slow on strings starting with '</' and with many repetitions of '</!'.
This
regular expression
that depends on
library input
may run slow on strings starting with '<!--' and with many repetitions of '<!--a'.
This
regular expression
that depends on
library input
may run slow on strings starting with '<!' and with many repetitions of '<!='.
This
regular expression
that depends on
library input
may run slow on strings starting with '<-' and with many repetitions of ' '.
This
regular expression
that depends on
library input
may run slow on strings starting with '<-' and with many repetitions of ' '.
This
regular expression
that depends on
library input
may run slow on strings starting with '<- ' and with many repetitions of '<- '.
This
regular expression
that depends on
library input
may run slow on strings starting with '<- !' and with many repetitions of '=<- ! '.
This
regular expression
that depends on
library input
may run slow on strings starting with '<- !="' and with many repetitions of '" <- !="'.
This
regular expression
that depends on
library input
may run slow on strings starting with '<- !='' and with many repetitions of '' <- !=''.