GHSA-jg4p-g6xj-4qmf

Suggest an improvement
Source
https://github.com/advisories/GHSA-jg4p-g6xj-4qmf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-jg4p-g6xj-4qmf/GHSA-jg4p-g6xj-4qmf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jg4p-g6xj-4qmf
Aliases
Published
2026-08-21T20:54:56Z
Modified
2026-08-21T21:10:59Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N CVSS Calculator
Summary
Defuddle vulnerable to XSS via unescaped attribute interpolation in site extractors
Details

Summary

An Improper Neutralization of Input During Web Page Generation issue in the site extractor component allows an attacker-controlled attribute value to be injected into output HTML without escaping. An attacker who crafts a malicious HTML page or controls content on a matching domain can execute arbitrary scripts when a victim processes the page, resulting in Cross-Site Scripting (XSS). This affects defuddle through 0.19.0 and has been patched in version 0.19.1.

Impact

This vulnerability allows for Cross-Site Scripting (XSS) execution without needing to compromise external websites. Affected consumers include:

  • Obsidian Web Clipper,
  • web services serving the parsed output directly as HTML, and
  • any downstream application rendering the unsanitized HTML results

Patch

This issue has been patched in defuddle version 0.19.1. Users are encouraged to update to the latest release.

Database specific
{
    "cwe_ids":  [
        "CWE-116",
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-08-21T20:54:56Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / defuddle

Package

Affected ranges

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

Database specific

last_known_affected_version_range
"<= 0.19.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-jg4p-g6xj-4qmf/GHSA-jg4p-g6xj-4qmf.json"