MolecularFaces before 0.3.0 is vulnerable to cross site scripting. A remote attacker can execute arbitrary JavaScript in the context of a victim browser via crafted molfiles.
Security readout for executives and security teams
Plain-English summary
CVE-2024-0758 is a cross-site scripting issue in MolecularFaces before 0.3.0. If a user opens or views a malicious molfile through an affected application, attacker-supplied JavaScript may run in that user's browser context. Business urgency is moderate unless the software processes untrusted molfiles or is exposed to external users.
Executive priority
Treat this as a moderate-priority application security fix. It is not marked as exploited in the provided sources, but it can affect user trust and session integrity where MolecularFaces handles untrusted chemistry files.
Technical view
The issue is CWE-79 XSS in de.ipb-halle:molecularfaces, triggered through crafted molfiles. The CVSS 3.1 score is 6.1 with network attack vector, low complexity, no privileges required, required user interaction, changed scope, and low confidentiality and integrity impact. Availability impact is not identified.
Likely exposure
Exposure is likely limited to applications that depend on MolecularFaces before 0.3.0 and render or process molfiles supplied by users, partners, researchers, or external systems. The affected-version data in the bundle is sparse, so confirm package coordinates and deployed versions directly.
Exploitation context
The source bundle does not cite active exploitation, and CISA KEV status is false. Exploitation requires a victim interaction with a crafted molfile. The realistic risk is browser-side script execution leading to session abuse, content tampering, or data exposure within the affected application's trust context.
Researcher notes
Key evidence is consistent on XSS via crafted molfiles in MolecularFaces before 0.3.0. The affected product metadata lists limited version detail, so validation should rely on package inventory and the upstream GHSA. Do not assume broader products are affected without dependency evidence.
Mitigation direction
Upgrade MolecularFaces to 0.3.0 or later where applicable.
Review the GitHub advisory for vendor-confirmed remediation details.
Limit handling of untrusted molfiles until affected deployments are updated.
Prioritize internet-facing or collaborative molfile workflows first.
Validation and detection
Inventory applications using de.ipb-halle:molecularfaces.
Check lockfiles, build manifests, and SBOMs for versions before 0.3.0.
Identify features that render or preview user-supplied molfiles.
Confirm molfile rendering is sanitized or encoded after remediation.
Verify SCA tools no longer flag GHSA-2pwh-52h7-7j84.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.