GHSA-HFJ4-96F7-6R5G
Vulnerability from github – Published: 2018-11-09 17:49 – Updated: 2023-09-12 21:02
VLAI?
Summary
Cross-Site Scripting in html-janitor
Details
Versions of html-janitor prior to 2.0.2 (all current versions) are vulnerable to cross-site scripting (XSS).
This is exploitable if user-controlled data is passed into the modules clean() function.
Recommendation
No fix is currently available for this vulnerability. It is recommended to use an alternative module for HTML sanitization.
Severity ?
6.1 (Medium)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "html-janitor"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2017-0931"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T21:39:59Z",
"nvd_published_at": null,
"severity": "MODERATE"
},
"details": "Versions of `html-janitor` prior to 2.0.2 (all current versions) are vulnerable to cross-site scripting (XSS).\n\nThis is exploitable if user-controlled data is passed into the modules `clean()` function.\n\n\n## Recommendation\n\nNo fix is currently available for this vulnerability. It is recommended to use an alternative module for HTML sanitization.",
"id": "GHSA-hfj4-96f7-6r5g",
"modified": "2023-09-12T21:02:01Z",
"published": "2018-11-09T17:49:11Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0931"
},
{
"type": "WEB",
"url": "https://github.com/guardian/html-janitor/issues/34"
},
{
"type": "WEB",
"url": "https://hackerone.com/reports/308155"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-hfj4-96f7-6r5g"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/576"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "Cross-Site Scripting in html-janitor"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…