CVE-2026-73648

Source
https://cve.org/CVERecord?id=CVE-2026-73648
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73648.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-73648
Aliases
Downstream
Related
Published
2026-08-13T18:00:21.583Z
Modified
2026-08-15T11:48:11.525685459Z
Severity
  • 5.1 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N CVSS Calculator
Summary
rails-html-sanitizer: Possible XSS vulnerability with certain configurations
Details

rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. From 1.0.3 until 1.7.1, Rails::HTML::PermitScrubber restricted SVG reference elements in SVGALLOWLOCAL_HREF only when they used xlink:href, even though browsers also accept the plain href attribute. Applications with non-default allowed tags that included SVG use or feImage elements could therefore permit external references; a same-origin external SVG referenced by use could execute scripts in the sanitized document's context, while feImage could load external images for tracking. Applications using the default allowed tags are not affected. This issue is fixed in version 1.7.1.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73648.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/rails/rails-html-sanitizer

Affected ranges

Type
GIT
Repo
https://github.com/rails/rails-html-sanitizer
Events
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "1.0.3"
        },
        {
            "fixed": "1.7.1"
        }
    ]
}

Affected versions

v1.*
v1.0.3
v1.0.4
v1.1.0
v1.2.0
v1.3.0
v1.4.0
v1.4.1
v1.4.2
v1.5.0
v1.6.0
v1.6.0.rc1
v1.6.0.rc2
v1.6.1
v1.7.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73648.json"