GHSA-2pwh-52h7-7j84

    Dashboard / Vulnerabilities / GHSA-2pwh-52h7-7j84

    GHSA-2pwh-52h7-7j84

    Published: 16 Apr 2021Last Modified: 8 Jul 2026
    Aliases:

    Summary: JavaScript execution via malicious molfiles (XSS)

    Details: ### Impact The viewer plugin implementation of `<mol:molecule>` renders molfile data directly inside a `<script>` 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 `<input>` tag and escaped via JSF's mechanisms. ### Workarounds No workaround available.

    Affected packages

    Package

    Name: de.ipb-halle:molecularfaces

    Purl: pkg:maven/de.ipb-halle/molecularfaces

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -0.3.0

    Affected versions

    0.2.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-2pwh-52h7-7j84 | CVE-DB