# CVE-2021-27786: HCL OneTest Server is vulnerable to Cross Origin Resource Sharing: Arbitrary Origin Trusted

- Severity: Medium 4.6 (CVSS:3.1, scored by HCL) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/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.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2022-06-07T17:50:17.986Z
- Modified: 2026-06-17T03:45:27.283Z
- Weaknesses: CWE-697, CWE-942
- Assigned by: HCL

## Description

Cross-origin resource sharing (CORS) enables browsers to perform cross domain requests in a controlled manner. This request has an Origin header that identifies the domain that is making the initial request and defines the protocol between a browser and server to see if the request is allowed. An attacker can take advantage of this and possibly carry out privileged actions and access sensitive information when the Access-Control-Allow-Credentials is enabled.

(As written by CVE List.)

## Affected

- HCL Software HCL OneTest Server: 10.0, 10.1, 10.2
- hcltech onetest_server: 10.0; 10.1; 10.2

## Every score

- HCL: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://support.hcltechsw.com/csm?id=kb_article&sysparm_article=KB0098603> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-27786](https://www.cve.org/CVERecord?id=CVE-2021-27786), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2021-27786](https://nvd.nist.gov/vuln/detail/CVE-2021-27786), Public domain, modified 2026-06-17

---

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