# CVE-2021-3914: SmallRye Health UI Cross-site Scripting vulnerability

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2022-08-25T19:36:49.000Z
- Modified: 2026-06-17T04:05:58.850Z
- Also known as: GHSA-pvc3-wvxr-7cmf
- Weaknesses: CWE-79
- Assigned by: redhat

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

(As written by CVE List.)

## Affected

- smallrye-health: Not-Known
- io.smallrye:smallrye-health-ui (Maven): before 3.1.2
- redhat build_of_quarkus: before 2.7.5
- redhat openshift_application_runtimes: 1.0
- redhat smallrye_health: no versions given

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2018015> (issue-tracking, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2021-3914> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3914> (advisory)
- <https://github.com/smallrye/smallrye-health/pull/333> (web)
- <https://github.com/smallrye/smallrye-health/commit/01b25a038824887363cd413d8cd14052f5fc3541> (web)
- <https://github.com/smallrye/smallrye-health/commit/47a33f19f5bb1e4216a15f3aee6ca3b1e2ccba59> (web)
- <https://github.com/smallrye/smallrye-health> (package)

## Sources

- CVE List: [CVE-2021-3914](https://www.cve.org/CVERecord?id=CVE-2021-3914), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-pvc3-wvxr-7cmf](https://github.com/advisories/GHSA-pvc3-wvxr-7cmf), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-3914](https://nvd.nist.gov/vuln/detail/CVE-2021-3914), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3914 · Whole record: https://cve.day/CVE-2021-3914.json · Rebuilt by cve.day 2026-11-25T22:58:07.791Z
