Advisory

GO-2022-0762

Also known as: CVE-2021-29272, GHSA-3x58-xr87-2fcj

Summary

Cross-site scripting due to incorrect sanitization in github.com/microcosm-cc/bluemonday

Details

An XSS injection was possible because the sanitization of the Cyrillic character i bypass a protection mechanism against user-inputted HTML elements such as the <script> tag.

Severity

Not rated by the source.

Dates

Published
2021-05-18 21:07 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/microcosm-cc/bluemonday

Go · All systems

Affected

  • introduced 0, fixed 1.0.5 (semver)

Fixed versions

1.0.5

Fix

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: Go Vulnerability Database · CC BY 4.0

Sources & licences