GHSA-6wj2-g87r-pm62

Suggest an improvement
Source
https://github.com/advisories/GHSA-6wj2-g87r-pm62
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-6wj2-g87r-pm62/GHSA-6wj2-g87r-pm62.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6wj2-g87r-pm62
Aliases
Published
2021-08-25T20:55:43Z
Modified
2023-11-08T04:06:25Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Cross-site Scripting in comrak
Details

An issue was discovered in the comrak crate before 0.10.1 for Rust. It mishandles & characters, leading to XSS via &# HTML entities.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-08-18T21:33:18Z",
    "nvd_published_at":  "2021-08-08T06:15:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

crates.io / comrak

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.10.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-6wj2-g87r-pm62/GHSA-6wj2-g87r-pm62.json"