jtextor / dagitty

Graphical analysis of structural causal models / graphical causal models.
GNU General Public License v2.0
286 stars 46 forks source link

Protect against malicious input #51

Open benibela opened 2 years ago

benibela commented 2 years ago

All the usages of innerHTML are rather insecure. For example, when an exposure variable is named <a href="javascript:alert(123)">xyz</a>, it creates a link that runs javascript on the side panels:

grafik