GHSA-7qw4-w7hf-22q3

Suggest an improvement
Source
https://github.com/advisories/GHSA-7qw4-w7hf-22q3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7qw4-w7hf-22q3/GHSA-7qw4-w7hf-22q3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7qw4-w7hf-22q3
Aliases
Published
2022-05-14T03:03:56Z
Modified
2024-02-20T05:22:53.467392Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
xapian-core Cross-site Scripting vulnerability
Details

A cross-site scripting vulnerability in queryparser/termgenerator_internal.cc in Xapian xapian-core before 1.4.6 exists due to incomplete HTML escaping by Xapian::MSet::snippet().

Database specific
{
    "nvd_published_at": "2018-07-02T12:29:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-01-27T00:12:35Z"
}
References

Affected packages

RubyGems / xapian-core

Package

Name
xapian-core
Purl
pkg:gem/xapian-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.6

Affected versions

1.*

1.2.3
1.2.3.1
1.2.7.1
1.2.19.1
1.2.20.2
1.4.2