{"schemaVersion":3,"id":"CVE-2022-40704","aliases":["MGASA-2023-0022","UBUNTU-CVE-2022-40704","openSUSE-SU-2024:12555-1"],"status":"published","duplicateOf":null,"title":null,"description":"A XSS vulnerability was found in phoromatic_r_add_test_details.php in phoronix-test-suite.","dates":{"published":"2023-01-17T00:00:00.000Z","modified":"2025-04-04T19:41:57.750Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00611,"percentile":0.48558,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00611},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00606,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00606,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00606,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00606,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00611,"percentile":0.48558}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00611,"percentile":0.48558}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_PHORONIX-TEST-SUITE_PHORONIX-TEST-SUITE","name":"Phoronix Test Suite","source":"github","url":"https://github.com/phoronix-test-suite/phoronix-test-suite/issues/650","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"ubuntu","product":"phoronix-test-suite","name":"phoronix-test-suite","label":"phoronix-test-suite","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/phoronix-test-suite","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mageia","product":"phoronix-test-suite","name":"phoronix-test-suite","label":"phoronix-test-suite","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/phoronix-test-suite","purlType":"rpm","versions":[{"text":"< 10.8.2-1.1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.8.2-1.1.mga8","eol":null,"hubHref":null},{"vendor":"phoronix-media","product":"phoronix_test_suite","name":"phoronix test suite","label":"phoronix_test_suite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2022-07-23","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2022-07-23","eol":null,"hubHref":"/vendor/phoronix-media/phoronix_test_suite"},{"vendor":"opensuse","product":"phoronix-test-suite&distro=openSUSE Tumbleweed","name":"phoronix-test-suite","label":"phoronix-test-suite&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/phoronix-test-suite&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 10.8.4-3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.8.4-3.1","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/phoronix-test-suite/phoronix-test-suite/issues/650","label":"github.com/phoronix-test-suite/phoronix-test-suite/issues/650","hostname":"github.com","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/phoronix-test-suite/phoronix-test-suite/commit/d3880d9d3ba795138444da83f1153c3c3ac27640","label":"github.com/phoronix-test-suite/phoronix-test-suite/commit/d3880d9d3ba795138444da83f1153c3c3ac27640","hostname":"github.com","tags":["Patch","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2023-0022.html","label":"advisories.mageia.org/MGASA-2023-0022.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=31423","label":"bugs.mageia.org/show_bug.cgi?id=31423","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/ETFF53AECMDP6PTNUVVCOODN3HMOETUU/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2022-40704","label":"ubuntu.com/security/CVE-2022-40704","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-40704","label":"www.cve.org/CVERecord?id=CVE-2022-40704","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2022-40704","label":"www.suse.com/security/cve/CVE-2022-40704","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-01-17T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-04T19:41:57.750Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T09:08:15.278Z","stale":false,"partial":false}}