mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
11 lines
276 B
JavaScript
11 lines
276 B
JavaScript
import express from 'express';
|
|
import { WebView } from 'react-native';
|
|
|
|
var app = express();
|
|
|
|
app.get('/some/path', function(req, res) {
|
|
let tainted = req.param("code");
|
|
<WebView html={tainted}/>; // NOT OK
|
|
<WebView source={{html: tainted}}/>; // NOT OK
|
|
});
|