Every CVESearch/Get API key

GHSA-85q9-7467-r53q

XSS Vulnerability in Markdown Editor

No scoreFix available

GHSA-85q9-7467-r53q is a vulnerability with no CVSS score yet in inventree, published June 17, 2022. No source lists public exploit code. Fixed in inventree 0.7.3.

Severity
UnratedNo CVSS score yet
Exploit chance
UnscoredNo EPSS score yet
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
0.7.3inventree +1 more

Description

Impact

InvenTree uses EasyMDE for displaying markdown text in various places (e.g. for the various "notes" fields associated with various models).

By default, EasyMDE does not sanitize input data, and it is possible for malicious code to be injected into the markdown editor, and executed in the users browser.

Note: This malicious data must be first uploaded to the database by an authorized user, so the risk here is limited to trusted users

Solution

The solution here is two-fold:

  • Enable data sanitization for the EasyMDE renderer - #3205
  • Enforce cleaning of all data uploaded to the database via the API - #3204 (This will be ready for the 0.8.0 release)

Patches

  • The issue is addressed in the 0.8.0 release
  • This fix was back-ported to the 0.7.x branch, applied to the 0.7.3 release

Workarounds

There is no workaround for this issue without upgrading InvenTree to the specified version.

References

For more information

If you have any questions or comments about this advisory:

  • Open an issue in github
  • Email us at security@inventree.org

Affected packages

Affected packages
PackageAffectedFixed
inventree
PyPI
before 0.7.3
0.7.3
inventree
PyPI
before 0.7.3, plus listed versions
0.0.10.0.20.0.30.0.40.0.5
Show 18 moreShow less
0.0.60.0.70.0.80.0.90.1.00.1.10.1.20.1.30.1.40.2.40.3.10.3.20.4.40.6.00.6.10.7.00.7.10.7.2
0.7.3

What each source reports

GitHub AdvisoriesNo score

XSS Vulnerability in Markdown Editor

Impact

InvenTree uses EasyMDE for displaying markdown text in various places (e.g. for the various "notes" fields associated with various models).

By default, EasyMDE does not sanitize input data, and it is possible for malicious code to be injected into the markdown editor, and executed in the users browser.

Note: This malicious data must be first uploaded to the database by an authorized user, so the risk here is limited to trusted users

Solution

The solution here is two-fold:

  • Enable data sanitization for the EasyMDE renderer - #3205
  • Enforce cleaning of all data uploaded to the database via the API - #3204 (This will be ready for the 0.8.0 release)

Patches

  • The issue is addressed in the 0.8.0 release
  • This fix was back-ported to the 0.7.x branch, applied to the 0.7.3 release

Workarounds

There is no workaround for this issue without upgrading InvenTree to the specified version.

References

For more information

If you have any questions or comments about this advisory:

  • Open an issue in github
  • Email us at security@inventree.org
Record
GHSA-85q9-7467-r53q
Weakness
CWE-79
Updated
2026-11-02
OSVNo score

XSS Vulnerability in Markdown Editor

Impact

InvenTree uses EasyMDE for displaying markdown text in various places (e.g. for the various "notes" fields associated with various models).

By default, EasyMDE does not sanitize input data, and it is possible for malicious code to be injected into the markdown editor, and executed in the users browser.

Note: This malicious data must be first uploaded to the database by an authorized user, so the risk here is limited to trusted users

Solution

The solution here is two-fold:

  • Enable data sanitization for the EasyMDE renderer - #3205
  • Enforce cleaning of all data uploaded to the database via the API - #3204 (This will be ready for the 0.8.0 release)

Patches

  • The issue is addressed in the 0.8.0 release
  • This fix was back-ported to the 0.7.x branch, applied to the 0.7.3 release

Workarounds

There is no workaround for this issue without upgrading InvenTree to the specified version.

References

For more information

If you have any questions or comments about this advisory:

  • Open an issue in github
  • Email us at security@inventree.org
Record
GHSA-85q9-7467-r53q
Weakness
CWE-79
Updated
2026-11-02

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open