UnratedFix available
drupal/swiper_formatter — security advisory
The module provides integration with third party JS library SwiperJs. User-entered text is used as part of the slide without appropriate filtering leading to a cross-site scripting (XSS) vulnerability. This vulnerability is mitigated by the fact that an attacker would need a role with permission to edit the caption.
- Products
- drupal/swiper_formatter
- Affected versions
- Not specified
- Fixed versions
- 2.1.2, 3.1.0
- CVEs
- CVE-2026-114531
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 16:06 UTC · Revision 1
Source evidence
The module provides integration with third party JS library SwiperJs. User-entered text is used as part of the slide without appropriate filtering leading to a cross-site scripting (XSS) vulnerability. This vulnerability is mitigated by the fact that an attacker would need a role with permission to edit the caption.
osv:DRUPAL-CONTRIB-2026-228
drupal/swiper_formatter
Fixed versions: 2.1.2, 3.1.0
Complete source record
{
"id": "72be26c7630b718500bbec7192fb9b20a40a431f0a6bcac4516c924002674121",
"url": "https://osv.dev/vulnerability/DRUPAL-CONTRIB-2026-228",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DRUPAL-CONTRIB-2026-228",
"summary": "The module provides integration with third party JS library SwiperJs. User-entered text is used as part of the slide without appropriate filtering leading to a cross-site scripting (XSS) vulnerability. This vulnerability is mitigated by the fact that an attacker would need a role with permission to edit the caption.",
"evidence": "osv:DRUPAL-CONTRIB-2026-228",
"products": [
{
"name": {
"value": "drupal/swiper_formatter",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.1.2",
"evidence": "/affected/0/ranges"
},
{
"value": "3.1.0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DRUPAL-CONTRIB-2026-228",
"aliases": [
"CVE-2026-114531",
"DRUPAL-CONTRIB-2026-228"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.2"
}
],
"database_specific": {
"constraint": "<2.1.2"
}
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.0.1"
},
{
"fixed": "3.1.0"
}
],
"database_specific": {
"constraint": ">=3.0.1 <3.1.0"
}
}
],
"package": {
"name": "drupal/swiper_formatter",
"purl": "pkg:composer/drupal/swiper_formatter?repository_url=https:%2F%2Fpackages.drupal.org%2F8",
"ecosystem": "Packagist:https://packages.drupal.org/8"
},
"database_specific": {
"source": "https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/swiper_formatter/DRUPAL-CONTRIB-2026-228.json",
"affected_versions": "<2.1.2 || >=3.0.1 <3.1.0"
}
}
],
"modified": "2026-10-21T18:45:02.699633058Z",
"provider": "osv",
"references": [
"https://www.drupal.org/sa-contrib-2026-228"
]
},
"related_cves": [
{
"value": "CVE-2026-114531",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 399240,
"published_at": "2026-10-21T17:42:01+00:00"
}