inventree
Affected
- introduced
0, fixed0.7.3(ecosystem)
Fixed versions
0.7.3
Fix
- Fixed version
0.7.3pip install --upgrade inventree==0.7.3
Advisory
Also known as: None
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:
Patches
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:
High Basis: The source's own band: HIGH
0, fixed 0.7.3 (ecosystem)0.7.3
0.7.3pip install --upgrade inventree==0.7.3Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0