mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
11 lines
290 B
JavaScript
11 lines
290 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"); // $ Source
|
|
<WebView html={tainted}/>; // $ Alert
|
|
<WebView source={{html: tainted}}/>; // $ Alert
|
|
});
|