github / codeql

CodeQL: the libraries and queries that power security researchers around the world, as well as code scanning in GitHub Advanced Security
https://codeql.github.com
MIT License
7.62k stars 1.52k forks source link

The attribute name of the vue file contains dots. As a result, the attribute cannot be parsed #17834

Open keysenYang opened 3 days ago

keysenYang commented 3 days ago

In the vue file, if the attribute name of a component contains dots, all attributes of the component cannot be parsed. For example, in the following code, the component cannot parse HTML::Attribute because the sendBoxVisibility.sync attribute contains dots.

<SendDialog v-if="sendBoxVisibility" :sendBoxVisibility.sync="sendBoxVisibility" :checkedCount="fullCheckedCount" :isEmail="isEmail" :isFeedback="isFeedback" @sendNotification="sendNotification" / >

hvitved commented 3 days ago

@github/codeql-javascript : I think this one is for you?