{"id":"CVE-2023-38057","state":"PUBLISHED","title":"XSS stored in survey answers","description":"An improper input validation vulnerability in OTRS Survey modules allows any attacker with a link to a valid and unanswered survey request to inject javascript code in free text answers. This allows a cross site scripting attack while reading the replies as authenticated agent.\nThis issue affects OTRS Survey module from 7.0.X before 7.0.32, from 8.0.X before 8.0.13 and ((OTRS)) Community Edition Survey module from 6.0.X through 6.0.22.\n\n","publishedAt":"2023-07-24T08:27:55.315Z","updatedAt":"2024-10-17T13:02:55.563Z","severity":{"score":4.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N","source":"OTRS"},"assigner":"OTRS","products":["OTRS AG OTRS","OTRS AG ((OTRS)) Community Edition"],"affected":[{"vendor":"OTRS AG","product":"OTRS","packageName":"Survey","defaultStatus":"affected","versions":[{"version":"7.0.x","status":"affected","lessThan":"7.0.32","versionType":"Patch"},{"version":"8.0.x","status":"affected","lessThan":"8.0.13","versionType":"Patch"}]},{"vendor":"OTRS AG","product":"((OTRS)) Community Edition","packageName":"Survey","defaultStatus":"affected","versions":[{"version":"6.0.x","status":"affected","lessThanOrEqual":"6.0.22","versionType":"All"}]}],"references":["https://otrs.com/release-notes/otrs-security-advisory-2023-06/"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:06:08.715Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/38xxx/CVE-2023-38057.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-38057","state":"PUBLISHED","datePublished":"2023-07-24T08:27:55.315Z","dateUpdated":"2024-10-17T13:02:55.563Z","assignerShortName":"OTRS","assignerOrgId":"2e1bf29f-dc29-4ed8-830c-7b9348b6f0e8","dateReserved":"2023-07-12T08:05:38.780Z"},"containers":{"cna":{"title":"XSS stored in survey answers","descriptions":[{"lang":"en","value":"An improper input validation vulnerability in OTRS Survey modules allows any attacker with a link to a valid and unanswered survey request to inject javascript code in free text answers. This allows a cross site scripting attack while reading the replies as authenticated agent.\nThis issue affects OTRS Survey module from 7.0.X before 7.0.32, from 8.0.X before 8.0.13 and ((OTRS)) Community Edition Survey module from 6.0.X through 6.0.22.\n\n"}],"affected":[{"vendor":"OTRS AG","product":"OTRS","packageName":"Survey","defaultStatus":"affected","versions":[{"version":"7.0.x","status":"affected","lessThan":"7.0.32","versionType":"Patch"},{"version":"8.0.x","status":"affected","lessThan":"8.0.13","versionType":"Patch"}]},{"vendor":"OTRS AG","product":"((OTRS)) Community Edition","packageName":"Survey","defaultStatus":"affected","versions":[{"version":"6.0.x","status":"affected","lessThanOrEqual":"6.0.22","versionType":"All"}]}],"references":[{"url":"https://otrs.com/release-notes/otrs-security-advisory-2023-06/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.1,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"OTRS","orgId":"2e1bf29f-dc29-4ed8-830c-7b9348b6f0e8","dateUpdated":"2023-07-24T08:27:55.315Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Free text answers have to be used<br>"}],"value":"Free text answers have to be used\n"}],"credits":[{"lang":"en","type":"finder","user":"00000000-0000-4000-9000-000000000000","value":"Special thanks to  Daniel Mizael, Raphael Fiorin and Marcelo Makotofrom for reporting these vulnerability."}],"datePublic":"2023-07-24T07:00:00.000Z","impacts":[{"capecId":"CAPEC-63","descriptions":[{"lang":"en","value":"CAPEC-63 Cross-Site Scripting (XSS)"}]}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"\nUpdate Survey package to version 8.0.13 or 7.0.32\n<br>"}],"value":"Update Survey package to version 8.0.13 or 7.0.32\n\n"}],"source":{"advisory":"OSA-2023-06","defect":["Issue#769","Ticket#2023020942001367"],"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://otrs.com/release-notes/otrs-security-advisory-2023-06/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T17:30:12.921Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-17T13:01:44.457515Z","id":"CVE-2023-38057","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-17T13:02:55.563Z"}}]}}}