{"id":"CVE-2021-43698","aliases":["CVE-2021-43698"],"related":[],"kind":"vulnerability","state":"published","title":"phpWhois (last update Jun 30 2021) is affected by a Cross Site Scripting (XSS) vulnerability.","summary":"phpWhois (last update Jun 30 2021) is affected by a Cross Site Scripting (XSS) vulnerability. In file example.php, the exit function will terminate the script and print the message to the user. The message will contain $_GET['query'] then there is a XSS vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"phpWhois (last update Jun 30 2021) is affected by a Cross Site Scripting (XSS) vulnerability. In file example.php, the exit function will terminate the script and print the message to the user. The message will contain $_GET['query'] then there is a XSS vulnerability.","source":"cvelist"},{"lang":"es","text":"phpWhois (última actualización 30 de junio de 2021) está afectado por una vulnerabilidad de Cross Site Scripting (XSS). En el archivo example.php, la función exit terminará el script e imprimirá el mensaje al usuario. El mensaje contendrá $_GET['query'] entonces hay una vulnerabilidad XSS","source":"nvd"}],"published":"2021-11-29T11:33:36.000Z","modified":"2026-06-17T04:11:17.660Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[],"vendor":"phpwhois_project","product":"phpwhois","cpe":"cpe:2.3:a:phpwhois_project:phpwhois:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/sparc/phpWhois.org/issues/21","tags":["exploit","issue-tracking","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-43698","url":"https://www.cve.org/CVERecord?id=CVE-2021-43698","licence":"CVE Terms of Use","modified":"2024-08-04T04:03:08.800Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-43698","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43698","licence":"Public domain","modified":"2026-06-17T04:11:17.660Z"}],"updatedAt":"2026-11-25T22:24:36.111Z","epss":{"score":0.00628,"percentile":0.51439,"date":"2026-12-01T12:00:22.000Z"}}