{"id":"CVE-2024-0758","title":"MolecularFaces before 0.3.0 is vulnerable to cross site scripting","summary":"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.","severity":"medium","cvss":6.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","cwe":["CWE-79","CWE-79"],"vendor":"ipb-halle","product":"molecularfaces","affected":["molecularfaces < 0.3.0"],"patched":["molecularfaces 0.3.0"],"published":"2024-01-19","updated":"2026-07-14","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-0758","references":[{"url":"https://github.com/advisories/GHSA-2pwh-52h7-7j84","label":"disclosure@vulncheck.com"},{"url":"https://github.com/ipb-halle/MolecularFaces/security/advisories/GHSA-2pwh-52h7-7j84","label":"disclosure@vulncheck.com"},{"url":"https://vulncheck.com/advisories/vc-advisory-GHSA-2pwh-52h7-7j84","label":"disclosure@vulncheck.com"},{"url":"https://github.com/advisories/GHSA-2pwh-52h7-7j84","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/ipb-halle/MolecularFaces/security/advisories/GHSA-2pwh-52h7-7j84","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://vulncheck.com/advisories/vc-advisory-GHSA-2pwh-52h7-7j84","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd"],"epss":0.00566,"epssPercentile":0.45522,"ingestedAt":"2026-07-14T23:40:04.678Z","slug":"CVE-2024-0758","body":"## Overview\n\nMolecularFaces 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.\n\n## Affected\n\n- `molecularfaces < 0.3.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `molecularfaces 0.3.0`","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":33.6,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}