{"containers":{"cna":{"affected":[{"product":"datasette","vendor":"simonw","versions":[{"status":"affected","version":"< 0.56.1"}]}],"descriptions":[{"lang":"en","value":"Datasette is an open source multi-tool for exploring and publishing data. The `?_trace=1` debugging feature in Datasette does not correctly escape generated HTML, resulting in a [reflected cross-site scripting](https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks) vulnerability. This vulnerability is particularly relevant if your Datasette installation includes authenticated features using plugins such as [datasette-auth-passwords](https://datasette.io/plugins/datasette-auth-passwords) as an attacker could use the vulnerability to access protected data. Datasette 0.57 and 0.56.1 both include patches for this issue. If you run Datasette behind a proxy you can workaround this issue by rejecting any incoming requests with `?_trace=` or `&_trace=` in their query string parameters."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2021-06-07T21:20:13.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/simonw/datasette/security/advisories/GHSA-xw7c-jx9m-xh5g"},{"tags":["x_refsource_MISC"],"url":"https://github.com/simonw/datasette/issues/1360"},{"tags":["x_refsource_MISC"],"url":"https://datasette.io/plugins/datasette-auth-passwords"},{"tags":["x_refsource_MISC"],"url":"https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks"},{"tags":["x_refsource_MISC"],"url":"https://pypi.org/project/datasette/"}],"source":{"advisory":"GHSA-xw7c-jx9m-xh5g","discovery":"UNKNOWN"},"title":"Reflected cross-site scripting issue in Datasette","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-32670","STATE":"PUBLIC","TITLE":"Reflected cross-site scripting issue in Datasette"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"datasette","version":{"version_data":[{"version_value":"< 0.56.1"}]}}]},"vendor_name":"simonw"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Datasette is an open source multi-tool for exploring and publishing data. The `?_trace=1` debugging feature in Datasette does not correctly escape generated HTML, resulting in a [reflected cross-site scripting](https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks) vulnerability. This vulnerability is particularly relevant if your Datasette installation includes authenticated features using plugins such as [datasette-auth-passwords](https://datasette.io/plugins/datasette-auth-passwords) as an attacker could use the vulnerability to access protected data. Datasette 0.57 and 0.56.1 both include patches for this issue. If you run Datasette behind a proxy you can workaround this issue by rejecting any incoming requests with `?_trace=` or `&_trace=` in their query string parameters."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://github.com/simonw/datasette/security/advisories/GHSA-xw7c-jx9m-xh5g","refsource":"CONFIRM","url":"https://github.com/simonw/datasette/security/advisories/GHSA-xw7c-jx9m-xh5g"},{"name":"https://github.com/simonw/datasette/issues/1360","refsource":"MISC","url":"https://github.com/simonw/datasette/issues/1360"},{"name":"https://datasette.io/plugins/datasette-auth-passwords","refsource":"MISC","url":"https://datasette.io/plugins/datasette-auth-passwords"},{"name":"https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks","refsource":"MISC","url":"https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks"},{"name":"https://pypi.org/project/datasette/","refsource":"MISC","url":"https://pypi.org/project/datasette/"}]},"source":{"advisory":"GHSA-xw7c-jx9m-xh5g","discovery":"UNKNOWN"}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T23:25:31.015Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/simonw/datasette/security/advisories/GHSA-xw7c-jx9m-xh5g"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/simonw/datasette/issues/1360"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://datasette.io/plugins/datasette-auth-passwords"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://pypi.org/project/datasette/"}]}]},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2021-32670","datePublished":"2021-06-07T21:20:13.000Z","dateReserved":"2021-05-12T00:00:00.000Z","dateUpdated":"2024-08-03T23:25:31.015Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}