Advisory record · GHSA-2pwh-52h7-7j84

JavaScript execution via malicious molfiles (XSS)

CVSS 6.1 MediumEPSS 0.0057 · 47th percentile

Published by the GitHub Advisory Database at 16 Apr 2021, 19:52 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
de.ipb-halle:molecularfacesMaven<0.3.00.3.0
Identifiers
GHSA-2pwh-52h7-7j84 · CVE-2024-0758
Weakness (CWE)
CWE-79
Published
16 Apr 2021
Updated
8 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

molecularfaces versions before 0.3.0 render molfile data unescaped inside a script tag in the viewer plugin for the mol:molecule tag. An attacker who supplies a crafted molfile can run arbitrary JavaScript in the browser of a user who views it, which is a cross-site scripting issue. Upgrade to molecularfaces 0.3.0, which escapes the data; the source lists no workaround.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.1 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0057, the 47th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 19 Jan 2024, 20:19 UTC Confirmed by the CVE List
  2. 31 Oct 2026, 14:19 UTC First seen by agentprime
  3. 31 Oct 2026, 14:19 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.