DRUPAL-CONTRIB-2022-028

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/svg_formatter/DRUPAL-CONTRIB-2022-028.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2022-028
Published
2022-03-09T18:28:39Z
Modified
2025-12-10T23:30:53.091757Z
Summary
[none]
Details

SVG Formatter module provides support for using SVG images on your website.

Our dependency library enshrined/svg-sanitize has a cross-site scripting vulnerability.

This vulnerability is mitigated by the fact that an attacker must have a role with permission that enables them to upload SVG images.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/svg_formatter

Package

Name
drupal/svg_formatter
Purl
pkg:composer/drupal/svg_formatter

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.17.0
Database specific
{
    "constraint": "<1.17.0"
}
Type
ECOSYSTEM
Events
Introduced
2.0.0
Last affected
2.0.0
Database specific
{
    "constraint": "2.0.0"
}

Database specific

affected_versions
"<1.17.0 || 2.0.0"
patched
true
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/svg_formatter/DRUPAL-CONTRIB-2022-028.json"