GitHub Advisoryadvisory · Maven

GHSA-2pwh-52h7-7j84 JavaScript execution via malicious molfiles (XSS)

MEDIUM Published 2021-04-16 Modified 2026-01-22 Official page ↗
Aliases
CVE-2024-0758
Ecosystem
Maven
Packages
de.ipb-halle:molecularfaces
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2021-04-13

Affected packages

• Maven de.ipb-halle:molecularfaces: < 0.3.0 → fixed in 0.3.0

Description

Impact The viewer plugin implementation of `` renders molfile data directly inside a `` tag without any escaping. Arbitrary JavaScript code can thus be executed in the client browser via crafted molfiles. Patches Patched in v0.3.0: Molfile data is now rendered as value of a hidden `` tag and escaped via JSF's mechanisms. Workarounds No workaround available.

Related

Alias · CVE (1)

  • CVE-2024-0758 MolecularFaces before 0.3.0 is vulnerable to cross site scripting. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References