Description
openssl_encrypt versions before 1.4.0 configure CORS with allow_origins set to wildcard and allow_credentials enabled to true. Attackers can create malicious websites that make authenticated cross-origin requests to the API on behalf of any user who visits them.
Published: 2026-08-17
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from a misconfigured Cross-Origin Resource Sharing (CORS) policy in openssl_encrypt versions prior to 1.4.0. The API allows any origin via a wildcard "allow_origins" setting while simultaneously permitting credentialed requests through "allow_credentials" enabled. An attacker can host a malicious site that tricks users into loading it; the browser will then automatically include the user’s authentication tokens while making requests to the vulnerable API, effectively allowing the attacker to perform actions and exfiltrate data with the user’s privileges. This flaw satisfies CWE-942, underscoring the dangerous interplay of open origins and credential sharing.

Affected Systems

The affected product is jahlives:openssl_encrypt and any deployments utilizing versions earlier than 1.4.0. Only these releases inherit the default CORS configuration that leads to the wildcard origin with credential support. Upgrading to or patching against version 1.4.0 removes the risky defaults or requires explicit origin whitelisting.

Risk and Exploitability

The CVSS score of 7.1 reflects a moderate-to-high risk, primarily due to the ease with which an attacker can craft a malicious web page to provoke a credentialed cross-origin request. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the absence of these indicators does not diminish the practical likelihood of exploitation. Attackers need only control a malicious front-end site; no additional steps like code execution or privileged access are required, making this vulnerability attractive for phishing or data‑exfiltration campaigns.

Generated by OpenCVE AI on August 17, 2026 at 12:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade openssl_encrypt to version 1.4.0 or newer where the CORS defaults are tightened or disabled.
  • If an immediate upgrade is not possible, reconfigure the API to set allow_origins to a strict whitelist of trusted domains and disable allow_credentials unless explicitly needed.
  • Verify the new policy by attempting an authenticated request from an unauthorized origin and confirming that the browser blocks the request and that no credentials are transmitted.

Generated by OpenCVE AI on August 17, 2026 at 12:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
Description openssl_encrypt versions before 1.4.0 configure CORS with allow_origins set to wildcard and allow_credentials enabled to true. Attackers can create malicious websites that make authenticated cross-origin requests to the API on behalf of any user who visits them.
Title openssl_encrypt before 1.4.0 CORS Misconfiguration via Wildcard Origins
Weaknesses CWE-942
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-17T11:04:47.698Z

Reserved: 2026-08-17T10:36:18.506Z

Link: CVE-2026-74881

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-17T11:16:42.723

Modified: 2026-08-17T11:16:42.723

Link: CVE-2026-74881

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T12:45:03Z

Weaknesses
  • CWE-942

    Permissive Cross-domain Security Policy with Untrusted Domains