Advisory

GHSA-v73w-r9xg-7cr9

Also known as: None

Summary

Use of insecure jQuery version in OctoberCMS

Details

Impact
Passing HTML from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code.

Patches
Issue has been patched in Build 466 (v1.0.466) by applying the recommended patch from @jquery.

Workarounds
Apply https://github.com/octobercms/october/commit/5c7ba9fbe9f2b596b2f0e3436ee06b91b97e5892 to your installation manually if unable to upgrade to Build 466.

References

  • https://github.com/jquery/jquery/security/advisories/GHSA-gxr4-xjj5-5px2
  • https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11022
  • https://jquery.com/upgrade-guide/3.5/

For more information
If you have any questions or comments about this advisory:

Threat Assessment
Assessed as Moderate by the @jquery team.

Acknowledgements

Thanks to @mrgswift for reporting the issue to the October CMS team.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-06-05 19:37 UTC
Modified
2024-12-02 05:55 UTC

Affected packages and fixes

october/october

Packagist · All systems

Affected

  • introduced 1.0.319, fixed 1.0.466 (ecosystem)

Fixed versions

1.0.466

Fix

The export has no generic command for this ecosystem.

october/system

Packagist · All systems

Affected

  • introduced 1.0.319, fixed 1.0.466 (ecosystem)

Fixed versions

1.0.466

Fix

The export has no generic command for this ecosystem.

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences