{"id":"CVE-2021-27786","aliases":["CVE-2021-27786"],"related":[],"kind":"vulnerability","state":"published","title":"HCL OneTest Server is vulnerable to Cross Origin Resource Sharing:  Arbitrary Origin Trusted","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una compartición de recursos entre orígenes (CORS) permite a navegadores llevar a cabo peticiones entre dominios de forma controlada. Esta petición presenta un encabezado Origin que identifica el dominio que realiza la petición inicial y define el protocolo entre un navegador y un servidor para ver si la petición está permitida. Un atacante puede aprovecharse de esto y posiblemente llevar a cabo acciones privilegiadas y acceder a información confidencial cuando Access-Control-Allow-Credentials está habilitado","source":"nvd"}],"published":"2022-06-07T17:50:17.986Z","modified":"2026-06-17T03:45:27.283Z","severity":{"scorer":"HCL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},"severities":[{"scorer":"HCL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-697","CWE-942"],"affected":[{"ranges":[{"version":"10.0, 10.1, 10.2","status":"affected"}],"vendor":"HCL Software","product":"HCL OneTest Server","source":"cvelist"},{"ranges":[{"status":"affected","version":"10.0"},{"status":"affected","version":"10.1"},{"status":"affected","version":"10.2"}],"vendor":"hcltech","product":"onetest_server","cpe":"cpe:2.3:a:hcltech:onetest_server:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://support.hcltechsw.com/csm?id=kb_article&sysparm_article=KB0098603","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"HCL","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-27786","url":"https://www.cve.org/CVERecord?id=CVE-2021-27786","licence":"CVE Terms of Use","modified":"2024-09-16T21:04:10.396Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-27786","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27786","licence":"Public domain","modified":"2026-06-17T03:45:27.283Z"}],"updatedAt":"2026-11-25T22:58:07.592Z","epss":{"score":0.00592,"percentile":0.49677,"date":"2026-12-01T12:00:22.000Z"}}